1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-06 01:33:12 +02:00

relay: fix uncontrolled format string in redirection of irc commands

This commit is contained in:
Sebastien Helleu
2013-05-18 22:42:16 +02:00
parent e0281a40f0
commit e459939ead
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -557,7 +557,7 @@ relay_irc_hsignal_irc_redir_cb (void *data, const char *signal,
{
for (i = 0; i < num_messages; i++)
{
relay_irc_sendf (client, messages[i]);
relay_irc_sendf (client, "%s", messages[i]);
}
weechat_string_free_split (messages);
}