summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-02-11 16:19:00 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-02-11 16:19:00 +0000
commit8dd775252fd8432320b869607417cd508ecff096 (patch)
treedc1828219f86ec7e74c924f81209d2d9c6b8f59f
parentdddd9d17a6fc3c35dc15255fb67a10682af8a2a3 (diff)
downloadirssi-8dd775252fd8432320b869607417cd508ecff096.zip
stupid format string bugs. wasn't there long though :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2431 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-common/irc/fe-events-numeric.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-events-numeric.c b/src/fe-common/irc/fe-events-numeric.c
index 58c376f7..80627f88 100644
--- a/src/fe-common/irc/fe-events-numeric.c
+++ b/src/fe-common/irc/fe-events-numeric.c
@@ -790,7 +790,7 @@ static void event_received(IRC_SERVER_REC *server, const char *data,
if (nick == NULL || server->real_address == NULL ||
strcmp(nick, server->real_address) == 0)
- printtext(server, NULL, MSGLEVEL_CRAP, args);
+ printtext(server, NULL, MSGLEVEL_CRAP, "%s", args);
else {
printformat(server, NULL, MSGLEVEL_CRAP,
IRCTXT_DEFAULT_EVENT, nick, args);