summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-protocol.c')
-rw-r--r--src/plugins/irc/irc-protocol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index 57dcc9e03..16988abbc 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -6291,8 +6291,7 @@ IRC_PROTOCOL_CALLBACK(353)
free (str_params);
if (str_nicks)
weechat_string_dyn_free (str_nicks, 1);
- if (nicks)
- weechat_string_free_split (nicks);
+ weechat_string_free_split (nicks);
return WEECHAT_RC_OK;
}