mirror of
https://github.com/anope/anope.git
synced 2026-07-03 19:43:12 +02:00
Replaced anope_SendGuestNick() with direct call to SendGuestNick() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1328 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -1132,7 +1132,6 @@ E void anope_SendBotOp(const char *nick, const char *chan); /* MODE BotS
|
||||
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_SendClientIntroduction(const char *nick, const char *user,const char *host,const char *real,const char *modes); /* NICK */
|
||||
E void anope_SendGuestNick(const char *nick, const char *user,const char *host,const char *real,const char *modes); /* NICK */
|
||||
E void anope_cmd_message(const char *source, const char *dest, const char *fmt, ...); /* NOTICE */
|
||||
E void anope_SendNoticeChanops(const char *source, const char *dest, const char *fmt, ...); /* NOTICE */
|
||||
E void anope_cmd_notice(const char *source, const char *dest, const char *msg); /* NOTICE */
|
||||
|
||||
@@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av)
|
||||
ircdproto->ProcessUsermodes(user, ac, av);
|
||||
}
|
||||
|
||||
void anope_SendGuestNick(const char *nick, const char *user, const char *host, const char *real, const char *modes)
|
||||
{
|
||||
ircdproto->SendGuestNick(nick, user, host, real, modes);
|
||||
}
|
||||
|
||||
void anope_SendMode(const char *source, const char *dest, const char *fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
+2
-2
@@ -957,7 +957,7 @@ void cancel_user(User * u)
|
||||
anope_SendSVSHOLD(na->nick);
|
||||
} else {
|
||||
if (ircd->svsnick) {
|
||||
anope_SendGuestNick(u->nick, NSEnforcerUser,
|
||||
ircdproto->SendGuestNick(u->nick, NSEnforcerUser,
|
||||
NSEnforcerHost,
|
||||
"Services Enforcer", "+");
|
||||
add_ns_timeout(na, TO_RELEASE, NSReleaseTimeout);
|
||||
@@ -968,7 +968,7 @@ void cancel_user(User * u)
|
||||
}
|
||||
} else {
|
||||
if (ircd->svsnick) {
|
||||
anope_SendGuestNick(u->nick, NSEnforcerUser,
|
||||
ircdproto->SendGuestNick(u->nick, NSEnforcerUser,
|
||||
NSEnforcerHost,
|
||||
"Services Enforcer", "+");
|
||||
add_ns_timeout(na, TO_RELEASE, NSReleaseTimeout);
|
||||
|
||||
Reference in New Issue
Block a user