added first fix of channel handling

This commit is contained in:
Michiel Broek 2005-04-23 15:47:48 +00:00
parent 5a5bfe018e
commit f55ac2f5a7

View File

@ -1138,7 +1138,7 @@ void command_join(char *hostname, char *parameters)
}
}
nick = strtok(parameters, " \0");
nick = strtok(parameters, "@\0");
server = 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");
channel = strtok(NULL, "\0");