diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2011-03-05 09:13:53 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2011-03-05 09:13:53 +0100 |
commit | 598b5262a6abf5a4feaf9f66c3e741d7167c9ddf (patch) | |
tree | 63591b28b8e12f3608cf30c1d6924142f2776b81 /src/plugins | |
parent | 80609e4f72b79cc6bdde1f589aedbd96c42d7fb6 (diff) | |
download | weechat-598b5262a6abf5a4feaf9f66c3e741d7167c9ddf.zip |
Silently ignore IRC kicks when channel is not found
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-protocol.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c index 608cbff03..fd518207c 100644 --- a/src/plugins/irc/irc-protocol.c +++ b/src/plugins/irc/irc-protocol.c @@ -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]); |