summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/extern.h1
-rw-r--r--src/ircd.c5
-rw-r--r--src/operserv.c2
3 files changed, 1 insertions, 7 deletions
diff --git a/include/extern.h b/include/extern.h
index e157762bc..aaee6dc77 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_SendSGLineDel(const char *mask); /* UNSGLINE */
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 */
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);