diff options
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | src/ircd.c | 5 | ||||
-rw-r--r-- | src/nickserv.c | 4 |
3 files changed, 2 insertions, 8 deletions
diff --git a/include/extern.h b/include/extern.h index 48f5d58fc..50637b337 100644 --- a/include/extern.h +++ b/include/extern.h @@ -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 */ diff --git a/src/ircd.c b/src/ircd.c index d48158df1..12225798d 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_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; diff --git a/src/nickserv.c b/src/nickserv.c index f40c17778..0a8fec390 100644 --- a/src/nickserv.c +++ b/src/nickserv.c @@ -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); |