Fixed bug with PART command parsing (":" not skipped, problem with some IRC servers)
This commit is contained in:
parent
537e1781a6
commit
34e220df56
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user