diff options
Diffstat (limited to 'src/plugins/irc/irc-join.c')
-rw-r--r-- | src/plugins/irc/irc-join.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-join.c b/src/plugins/irc/irc-join.c index 82f8566b2..609c2b50c 100644 --- a/src/plugins/irc/irc-join.c +++ b/src/plugins/irc/irc-join.c @@ -372,10 +372,7 @@ irc_join_build_string (struct t_arraylist *arraylist) end: if (channels) - { - result = *channels; - weechat_string_dyn_free (channels, 0); - } + result = weechat_string_dyn_free (channels, 0); if (keys) weechat_string_dyn_free (keys, 1); |