1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-03 16:23:14 +02:00

Fix IRC PART message received on Undernet server (bug #28825)

This commit is contained in:
Sebastien Helleu
2010-02-05 23:53:20 +01:00
parent 40401f88da
commit a3658f4fc2
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -943,7 +943,8 @@ irc_protocol_cmd_part (struct t_irc_server *server, const char *command,
pos_comment = (argc > 3) ?
((argv_eol[3][0] == ':') ? argv_eol[3] + 1 : argv_eol[3]) : NULL;
ptr_channel = irc_channel_search (server, argv[2]);
ptr_channel = irc_channel_search (server,
(argv[2][0] == ':') ? argv[2] + 1 : argv[2]);
if (ptr_channel)
{
ptr_nick = irc_nick_search (ptr_channel, nick);