diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 20:35:07 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 20:35:07 +0000 |
commit | f3f1b97a1ab782a3419fe20ae06d3e3535a4ddae (patch) | |
tree | 004dcd0bff848882bc61c0383966c127cef62e38 /src/bots.cpp | |
parent | de32f2b192aed5e5daceb118739ce9da91bb0403 (diff) |
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
Diffstat (limited to 'src/bots.cpp')
-rw-r--r-- | src/bots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bots.cpp b/src/bots.cpp index 5195b23cf..ac22589d5 100644 --- a/src/bots.cpp +++ b/src/bots.cpp @@ -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; |