diff options
| author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:38:25 +0000 |
|---|---|---|
| committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:38:25 +0000 |
| commit | d1b4212a40333abd69c234471cf8a224d2e63769 (patch) | |
| tree | c89c8c65a7e59092e7b12ddfcae10a02c32596ec /src | |
| parent | 67b96a855ab20402a680bd82645f59a3d9411c3e (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/bs_bot.c | 2 | ||||
| -rw-r--r-- | src/ircd.c | 5 |
2 files changed, 1 insertions, 6 deletions
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); |
