summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-redirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-redirect.c')
-rw-r--r--src/plugins/irc/irc-redirect.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-redirect.c b/src/plugins/irc/irc-redirect.c
index 456c03581..0ebdc61d8 100644
--- a/src/plugins/irc/irc-redirect.c
+++ b/src/plugins/irc/irc-redirect.c
@@ -923,9 +923,7 @@ irc_redirect_message (struct t_irc_server *server, const char *message,
}
end:
- if (arguments_argv)
- weechat_string_free_split (arguments_argv);
-
+ weechat_string_free_split (arguments_argv);
return rc;
}