1
0
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:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-02 21:38:25 +00:00
parent 67b96a855a
commit d1b4212a40
3 changed files with 1 additions and 7 deletions
-1
View File
@@ -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
View File
@@ -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");
-5
View File
@@ -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);