1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 02:03:12 +02:00

Make log.c compile.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1375 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-10-02 23:15:03 +00:00
parent bd4b99386b
commit 750352d122
+1 -1
View File
@@ -177,7 +177,7 @@ void alog(const char *fmt, ...)
fprintf(stderr, "%s %s\n", buf, str);
}
if (LogChannel && logchan && !debug && findchan(LogChannel)) {
ircdproto->SendPrivmsg(s_GlobalNoticer, LogChannel, "%s", str);
ircdproto->SendPrivmsg(findbot(s_GlobalNoticer), LogChannel, "%s", str);
}
errno = errno_save;
}