From 661755a1997137226a45d271b2c0409e30297097 Mon Sep 17 00:00:00 2001 From: Adam- Date: Fri, 4 Dec 2009 23:11:08 +0000 Subject: 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 --- src/botserv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); } -- cgit