summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 23:15:03 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 23:15:03 +0000
commit750352d122f64cbbbd16cf1a060b58703cf6f9e4 (patch)
tree0a10ff553be8febce2165bb3d0039b2c31fd9283
parentbd4b99386bcf9846b8375e658b70eea3f19770c3 (diff)
Make log.c compile.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1375 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index 52dda1baf..dd2e2440a 100644
--- a/src/log.c
+++ b/src/log.c
@@ -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;
}