1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 16:06:37 +02:00

Unbreak bot assigning, also call event in the unassign function, rather than elsewherel. This will be needed for third party module devs.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1235 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-09-30 18:45:11 +00:00
parent 717c684eac
commit 44f01ce8d5
2 changed files with 3 additions and 2 deletions
+2
View File
@@ -60,6 +60,8 @@ void BotInfo::Assign(User *u, ChannelInfo *ci)
this->chancount++;
if (ci->c && ci->c->usercount >= BSMinUsers)
bot_join(ci);
send_event(EVENT_BOT_ASSIGN, 2, ci->name, this->nick);
}
void BotInfo::UnAssign(User *u, ChannelInfo *ci)