summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-list.c')
-rw-r--r--src/plugins/irc/irc-list.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-list.c b/src/plugins/irc/irc-list.c
index abef27d57..98e9b994b 100644
--- a/src/plugins/irc/irc-list.c
+++ b/src/plugins/irc/irc-list.c
@@ -448,8 +448,7 @@ irc_list_parse_messages (struct t_irc_server *server, const char *output)
}
}
free (command);
- if (params)
- weechat_string_free_split (params);
+ weechat_string_free_split (params);
}
weechat_string_free_split (irc_msgs);