mirror of
https://github.com/anope/anope.git
synced 2026-07-05 14:43:12 +02:00
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
+1
-1
@@ -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");
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user