summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-04 23:11:08 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-04 23:11:08 +0000
commit661755a1997137226a45d271b2c0409e30297097 (patch)
tree9829ab13619fa896d49495ae1fb76cfd04c9e3c0 /src
parent17a4789c1c954640eb430b881fd0616d77da3e6d (diff)
Fixed crash when using smartjoin and assigning a bot to an +i channel, reported by Platzii
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2684 5417fbe8-f217-4b02-8779-1006273d7864
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);
}