diff options
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | src/core/bs_bot.c | 2 | ||||
-rw-r--r-- | src/ircd.c | 5 |
3 files changed, 1 insertions, 7 deletions
diff --git a/include/extern.h b/include/extern.h index b9ce06845..c2efb677c 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1121,7 +1121,6 @@ E void anope_cmd_ea(); /* EA */ E void anope_cmd_tmode(const char *source, const char *dest, const char *fmt, ...); /* TMODE */ E void anope_SendBanDel(const char *name, const char *nick); /* MODE -b */ E void anope_cmd_netinfo(int ac, const char **av); /* NETINFO */ -E void anope_SendChangeBotNick(const char *oldnick, const char *newnick); /* NICK */ E void anope_cmd_pass(const char *pass); /* PASS */ E void anope_cmd_protoctl(); /* PROTOCTL */ E void anope_SendSGLine(const char *mask, const char *reason); /* SGLINE */ 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); |