mirror of
https://github.com/anope/anope.git
synced 2026-06-26 08:36:39 +02:00
Made many of the functions in IRCDProto accept the relative object pointers instea of char* everywhere, and updated TODO
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2706 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+2
-2
@@ -167,9 +167,9 @@ void BotInfo::UnAssign(User *u, ChannelInfo *ci)
|
||||
if (ci->c && ci->c->usercount >= Config.BSMinUsers)
|
||||
{
|
||||
if (u)
|
||||
ircdproto->SendPart(ci->bi, ci->name, "UNASSIGN from %s", u->nick);
|
||||
ircdproto->SendPart(ci->bi, ci->c, "UNASSIGN from %s", u->nick);
|
||||
else
|
||||
ircdproto->SendPart(ci->bi, ci->name, "");
|
||||
ircdproto->SendPart(ci->bi, ci->c, "");
|
||||
}
|
||||
|
||||
ci->bi->chancount--;
|
||||
|
||||
Reference in New Issue
Block a user