summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 21:54:20 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 21:54:20 +0000
commit82fa3509871849a40376fdf972fcc4e3139c2475 (patch)
tree4dcea0b0b8db3fd5db1f0b84b74f6a148efc9cfc /src
parent77af53f647f844ea4abab13fa4587e89ccc39c76 (diff)
Replaced anope_SendSGLineDel() with direct call to SendSGLineDel() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1358 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/ircd.c5
-rw-r--r--src/operserv.c2
2 files changed, 1 insertions, 6 deletions
diff --git a/src/ircd.c b/src/ircd.c
index 4a5dad360..2fd671bf9 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_SendSGLineDel(const char *mask)
-{
- ircdproto->SendSGLineDel(mask);
-}
-
void anope_SendSZLineDel(const char *mask)
{
ircdproto->SendSZLineDel(mask);
diff --git a/src/operserv.c b/src/operserv.c
index c0a3aa0c5..ed343511d 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -1102,7 +1102,7 @@ static void free_sgline_entry(SList * slist, void *item)
SXLine *sx = (SXLine *)item;
/* Remove the SGLINE from all the servers */
- anope_SendSGLineDel(sx->mask);
+ ircdproto->SendSGLineDel(sx->mask);
/* Free the structure */
free(sx->mask);