summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/relay/irc/relay-irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/irc/relay-irc.c b/src/plugins/relay/irc/relay-irc.c
index a4003030e..475f15ee0 100644
--- a/src/plugins/relay/irc/relay-irc.c
+++ b/src/plugins/relay/irc/relay-irc.c
@@ -1364,7 +1364,7 @@ relay_irc_recv (struct t_relay_client *client, const char *data)
/* server capabilities */
if (irc_command && (weechat_strcasecmp (irc_command, "cap") == 0))
{
- if ((irc_argc > 0) && irc_argv)
+ if (irc_argc > 0)
{
relay_irc_recv_command_capab (client,
irc_argc, irc_argv, irc_argv_eol);