diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2018-05-19 08:14:01 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2018-05-19 08:14:56 +0200 |
commit | eb8043f2b4fb61ae336e0f7cab386b858eb218cb (patch) | |
tree | a2e608eff5dc49ce7f3af9333dabda39a630a243 /src/plugins/relay/irc/relay-irc.c | |
parent | 5756892203c258b0138cf101aa49fd6568bd9fa4 (diff) | |
download | weechat-eb8043f2b4fb61ae336e0f7cab386b858eb218cb.zip |
relay: remove unneeded check on variable irc_argv
The variable "irc_argv" is always set if irc_argc > 0.
Diffstat (limited to 'src/plugins/relay/irc/relay-irc.c')
-rw-r--r-- | src/plugins/relay/irc/relay-irc.c | 2 |
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); |