added first fix of channel handling
This commit is contained in:
parent
5a5bfe018e
commit
f55ac2f5a7
@ -1138,7 +1138,7 @@ void command_join(char *hostname, char *parameters)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
nick = strtok(parameters, " \0");
|
nick = strtok(parameters, "@\0");
|
||||||
server = strtok(NULL, " \0");
|
server = strtok(NULL, " \0");
|
||||||
channel = strtok(NULL, "\0");
|
channel = strtok(NULL, "\0");
|
||||||
|
|
||||||
@ -1193,7 +1193,7 @@ void command_part(char *hostname, char *parameters)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
nick = strtok(parameters, " \0");
|
nick = strtok(parameters, "@\0");
|
||||||
server = strtok(NULL, " \0");
|
server = strtok(NULL, " \0");
|
||||||
channel = strtok(NULL, "\0");
|
channel = strtok(NULL, "\0");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user