1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 08:43:13 +02:00

Silently ignore IRC kicks when channel is not found

This commit is contained in:
Sebastien Helleu
2011-03-05 09:13:53 +01:00
parent 80609e4f72
commit 598b5262a6
-7
View File
@@ -558,14 +558,7 @@ IRC_PROTOCOL_CALLBACK(kick)
ptr_channel = irc_channel_search (server, argv[2]);
if (!ptr_channel)
{
weechat_printf (server->buffer,
_("%s%s: channel \"%s\" not found for "
"\"%s\" command"),
weechat_prefix ("error"), IRC_PLUGIN_NAME, argv[2],
"kick");
return WEECHAT_RC_OK;
}
ptr_nick = irc_nick_search (ptr_channel, nick);
ptr_nick_kicked = irc_nick_search (ptr_channel, argv[3]);