diff options
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; |