summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-05-18 22:33:35 +0200
committerSebastien Helleu <flashcode@flashtux.org>2013-05-18 22:33:35 +0200
commit5877a458ea70b53d3dbb99dc25df586e702a8c7b (patch)
treee9fea9d3ac64f53e03a2361d730e5d235cd80882 /src
parent4f62af028d6f348556907aa73466866c65180b3f (diff)
downloadweechat-5877a458ea70b53d3dbb99dc25df586e702a8c7b.zip
irc: fix uncontrolled format string when sending ison command (for nicks monitored by /notify)
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/irc/irc-notify.c b/src/plugins/irc/irc-notify.c
index c185ea1a7..91b794864 100644
--- a/src/plugins/irc/irc-notify.c
+++ b/src/plugins/irc/irc-notify.c
@@ -889,7 +889,7 @@ irc_notify_timer_ison_cb (void *data, int remaining_calls)
NULL, 0, NULL);
irc_server_sendf (ptr_server,
IRC_SERVER_SEND_OUTQ_PRIO_LOW,
- NULL, str_message);
+ NULL, "%s", str_message);
number++;
}
weechat_hashtable_free (hashtable);