diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/log.c | 2 | ||||
-rw-r--r-- | src/news.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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); diff --git a/src/news.c b/src/news.c index 44195a985..1227f6adc 100644 --- a/src/news.c +++ b/src/news.c @@ -1,5 +1,6 @@ /* News functions. /* News functions. +/* News functions. * * (C) 2003 Anope Team * Contact us at info@anope.org @@ -540,3 +541,4 @@ static int del_newsitem(int num, short type) /*************************************************************************/ + |