From fecf65d7bae4b540e51e9c80a9335605f5ff7f88 Mon Sep 17 00:00:00 2001 From: "Naram Qashat cyberbotx@cyberbotx.com" Date: Thu, 2 Oct 2008 18:12:54 +0000 Subject: [PATCH] Replaced anope_SendSVSMode() with direct call to SendSVSMode() in IRCDProto class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1327 5417fbe8-f217-4b02-8779-1006273d7864 --- include/extern.h | 1 - src/actions.c | 2 +- src/ircd.c | 5 ----- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/include/extern.h b/include/extern.h index 2c67ed542..48f5d58fc 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1155,7 +1155,6 @@ E void anope_SendSVSHOLD(const char *nick); /* SVSHOLD */ E void anope_SendSVSHOLDDel(const char *nick); /* SVSHOLD */ E void anope_cmd_svsinfo(); /* SVSINFO */ E void anope_SendSVSJoin(const char *source, const char *nick,const char *chan, const char *param); /* SVSJOIN */ -E void anope_SendSVSMode(User * u, int ac, const char **av); /* SVSMODE */ E void anope_SendSVSMode_chan(const char *name, const char *mode, const char *nick); /* SVSMODE */ E void anope_SendForceNickChange(const char *nick,const char *newnick, time_t when); /* SVSNICK */ E void anope_SendSVSO(const char *source,const char *nick, const char *flag); /* SVSO */ diff --git a/src/actions.c b/src/actions.c index 6c00bdde1..476ccd0f8 100644 --- a/src/actions.c +++ b/src/actions.c @@ -218,7 +218,7 @@ void common_svsmode(User * u, const char *modes, const char *arg) ac++; } - anope_SendSVSMode(u, ac, av); + ircdproto->SendSVSMode(u, ac, av); anope_ProcessUsermodes(u, ac, av); } diff --git a/src/ircd.c b/src/ircd.c index 25629250a..d48158df1 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_SendSVSMode(User *u, int ac, const char **av) -{ - ircdproto->SendSVSMode(u, 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);