summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/botserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/botserv.c b/src/botserv.c
index 0919df3aa..cbd3ccfc2 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -782,7 +782,7 @@ void bot_join(ChannelInfo * ci)
/* Should we be invited? */
if (ci->c->HasMode(CMODE_INVITE)
|| (limit && ci->c->usercount >= limit))
- ircdproto->SendNoticeChanops(NULL, ci->c->name,
+ ircdproto->SendNoticeChanops(ci->bi, ci->c->name,
"%s invited %s into the channel.",
ci->bi->nick, ci->bi->nick);
}