diff options
Diffstat (limited to 'src/log.c')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -176,7 +176,7 @@ void alog(const char *fmt, ...) if (nofork) { fprintf(stderr, "%s %s\n", buf, str); } - if (LogChannel && logchan && !debug && findchan(LogChannel)) { + if (LogChannel && LogChan && !debug && findchan(LogChannel)) { ircdproto->SendPrivmsg(findbot(s_GlobalNoticer), LogChannel, "%s", str); } errno = errno_save; |