From d1b4212a40333abd69c234471cf8a224d2e63769 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 21:38:25 +0000 Subject: Replaced anope_SendChangeBotNick() with direct call to SendChangeBotNick() in IRCDProto class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1352 5417fbe8-f217-4b02-8779-1006273d7864 --- src/core/bs_bot.c | 2 +- src/ircd.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'src') diff --git a/src/core/bs_bot.c b/src/core/bs_bot.c index 805b4dcfa..bc0e835fb 100644 --- a/src/core/bs_bot.c +++ b/src/core/bs_bot.c @@ -294,7 +294,7 @@ int do_bot(User * u) else we must make it quit and rejoin. We must not forget to set the Q:Line either (it's otherwise set in SendClientIntroduction) */ if (!user) { - anope_SendChangeBotNick(oldnick, bi->nick); + ircdproto->SendChangeBotNick(oldnick, bi->nick); ircdproto->SendSQLine(bi->nick, "Reserved for services"); } else { ircdproto->SendQuit(oldnick, "Quit: Be right back"); diff --git a/src/ircd.c b/src/ircd.c index ce55530cb..44a8e3bc3 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av) ircdproto->ProcessUsermodes(user, ac, av); } -void anope_SendChangeBotNick(const char *oldnick, const char *newnick) -{ - ircdproto->SendChangeBotNick(oldnick, newnick); -} - void anope_SendForceNickChange(const char *source, const char *guest, time_t when) { ircdproto->SendForceNickChange(source, guest, when); -- cgit