summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-05-18 22:42:16 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-05-18 22:42:16 +0200
commite459939ead60a8dbad3519574bfe850798d5738a (patch)
tree81d79fcf72c6d194e9d4f34ec2ef79cb8a8b579d /src/plugins
parente0281a40f0f93ae9f3a69595f7dff74fe15ae8e7 (diff)
downloadweechat-e459939ead60a8dbad3519574bfe850798d5738a.zip
relay: fix uncontrolled format string in redirection of irc commands
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/relay/irc/relay-irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/relay/irc/relay-irc.c b/src/plugins/relay/irc/relay-irc.c
index 6e77038c0..3e52535d0 100644
--- a/src/plugins/relay/irc/relay-irc.c
+++ b/src/plugins/relay/irc/relay-irc.c
@@ -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);
}