mirror of
https://github.com/anope/anope.git
synced 2026-06-29 00:26:39 +02:00
Replaced anope_SendPart() with direct call to SendPart() in IRCDProto class.
Added SendPartInternal() function to IRCDProto class, now SendPart() is a stub to handle varargs. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1346 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ void BotInfo::UnAssign(User *u, ChannelInfo *ci)
|
||||
send_event(EVENT_BOT_UNASSIGN, 2, ci->name, ci->bi->nick);
|
||||
|
||||
if (u && ci->c && ci->c->usercount >= BSMinUsers)
|
||||
anope_SendPart(ci->bi->nick, ci->name, "UNASSIGN from %s", u->nick);
|
||||
ircdproto->SendPart(ci->bi->nick, ci->name, "UNASSIGN from %s", u->nick);
|
||||
|
||||
ci->bi->chancount--;
|
||||
ci->bi = NULL;
|
||||
|
||||
Reference in New Issue
Block a user