summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-10-01 22:57:40 +0200
committerSébastien Helleu <flashcode@flashtux.org>2018-10-01 22:58:13 +0200
commitfc63620f1e7d3a82edf3629b25bc3dccf9644af6 (patch)
treeb0b7f18e4795f1623d36283dd9a14be34fd5cb37 /src
parentfb3ca3caaee575e6858c3ce65887bb8197c03983 (diff)
downloadweechat-fc63620f1e7d3a82edf3629b25bc3dccf9644af6.zip
irc: remove useless test on argc
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index cf380b037..5eb9fd605 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -4776,7 +4776,7 @@ IRC_PROTOCOL_CALLBACK(354)
*/
if (argc < 11)
{
- if ((argc > 3) && (!ptr_channel || (ptr_channel->checking_whox <= 0)))
+ if (!ptr_channel || (ptr_channel->checking_whox <= 0))
{
weechat_printf_date_tags (
irc_msgbuffer_get_target_buffer (