Fixed bug with PART command parsing (":" not skipped, problem with some IRC servers)

This commit is contained in:
Sebastien Helleu 2007-05-25 16:49:25 +00:00
parent 537e1781a6
commit 34e220df56
2 changed files with 6 additions and 0 deletions

View File

@ -1094,6 +1094,9 @@ irc_recv_cmd_part (t_irc_server *server, char *host, char *nick, char *arguments
return -1;
}
if (arguments[0] == ':')
arguments++;
pos_args = strchr (arguments, ' ');
if (pos_args)
{

View File

@ -1094,6 +1094,9 @@ irc_recv_cmd_part (t_irc_server *server, char *host, char *nick, char *arguments
return -1;
}
if (arguments[0] == ':')
arguments++;
pos_args = strchr (arguments, ' ');
if (pos_args)
{