diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:55:12 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 21:55:12 +0000 |
commit | 9c685cd1d5c0e81555a39fd67bb472decbf78096 (patch) | |
tree | 9c9331d8a35ed0993df15f3b2e6b43e9f651027b | |
parent | 82fa3509871849a40376fdf972fcc4e3139c2475 (diff) |
Replaced anope_SendSZLineDel() with direct call to SendSZLineDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1359 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | include/extern.h | 1 | ||||
-rw-r--r-- | src/ircd.c | 5 | ||||
-rw-r--r-- | src/operserv.c | 2 |
3 files changed, 1 insertions, 7 deletions
diff --git a/include/extern.h b/include/extern.h index aaee6dc77..f41b1af6e 100644 --- a/include/extern.h +++ b/include/extern.h @@ -1130,7 +1130,6 @@ E void anope_SendSVSJoin(const char *source, const char *nick,const char *chan, E void anope_SendSVSMode_chan(const char *name, const char *mode, const char *nick); /* SVSMODE */ E void anope_SendSVSPart(const char *source, const char *nick,const char *chan); /* SVSPART */ E void anope_SendSWhois(const char *source, const char *who, const char *mask); /* SWHOIS */ -E void anope_SendSZLineDel(const char *mask); /* UNSZLINE */ E void anope_SendEOB(); /* EOB - end of burst */ E void anope_cmd_burst(); /* BURST - use eob to send burst 0 */ E void anope_cmd_svswatch(const char *sender, const char *nick, const char *parm); diff --git a/src/ircd.c b/src/ircd.c index 2fd671bf9..1bddd6458 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_SendSZLineDel(const char *mask) -{ - ircdproto->SendSZLineDel(mask); -} - void anope_SendSZLine(const char *mask, const char *reason, const char *whom) { ircdproto->SendSZLine(mask, reason, whom); diff --git a/src/operserv.c b/src/operserv.c index ed343511d..88b31264e 100644 --- a/src/operserv.c +++ b/src/operserv.c @@ -1491,7 +1491,7 @@ static void free_szline_entry(SList * slist, void *item) SXLine *sx = (SXLine *)item; /* Remove the SZLINE from all the servers */ - anope_SendSZLineDel(sx->mask); + ircdproto->SendSZLineDel(sx->mask); /* Free the structure */ free(sx->mask); |