From f55ac2f5a760704ecda8bd0ca979085acdb261bf Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 23 Apr 2005 15:47:48 +0000 Subject: [PATCH] added first fix of channel handling --- mbtask/taskibc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbtask/taskibc.c b/mbtask/taskibc.c index f2d8062e..5b189cb7 100644 --- a/mbtask/taskibc.c +++ b/mbtask/taskibc.c @@ -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");