summaryrefslogtreecommitdiff
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index ec9ee2532..f4eac5c7b 100644
--- a/src/log.c
+++ b/src/log.c
@@ -161,7 +161,7 @@ void alog(const char *fmt, ...)
if (LogChannel && logchan && !debug && findchan(LogChannel)) {
char str[BUFSIZE];
vsnprintf(str, sizeof(str), fmt, args);
- privmsg(s_GlobalNoticer, LogChannel, str);
+ privmsg(s_GlobalNoticer, LogChannel, "%s", str);
}
va_end(args);