summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.c b/src/init.c
index 9cb1834ce..a6a91617c 100644
--- a/src/init.c
+++ b/src/init.c
@@ -736,7 +736,7 @@ int init_secondary(int ac, char **av)
/* And hybrid needs Global joined in the logchan */
if (logchan && ircd->join2msg) {
/* XXX might desync */
- ircdproto->SendJoin(s_GlobalNoticer, LogChannel, time(NULL));
+ ircdproto->SendJoin(findbot(s_GlobalNoticer), LogChannel, time(NULL));
}
anope_SendEOB();