summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/bs_bot.c2
-rw-r--r--src/ircd.c5
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);