summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/extern.h1
-rw-r--r--src/ircd.c5
-rw-r--r--src/operserv.c4
3 files changed, 2 insertions, 8 deletions
diff --git a/include/extern.h b/include/extern.h
index f41b1af6e..16b6e0031 100644
--- a/include/extern.h
+++ b/include/extern.h
@@ -1122,7 +1122,6 @@ E void anope_cmd_netinfo(int ac, const char **av); /* NETINFO */
E void anope_cmd_pass(const char *pass); /* PASS */
E void anope_cmd_protoctl(); /* PROTOCTL */
E void anope_SendSGLine(const char *mask, const char *reason); /* SGLINE */
-E void anope_SendSZLine(const char *mask, const char *reason, const char *whom); /* SZLINE */
E void anope_cmd_svinfo(); /* SVINFO */
E void anope_cmd_svsadmin(const char *server, int set); /* SVSADMIN */
E void anope_cmd_svsinfo(); /* SVSINFO */
diff --git a/src/ircd.c b/src/ircd.c
index 1bddd6458..896b9ffac 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_SendSZLine(const char *mask, const char *reason, const char *whom)
-{
- ircdproto->SendSZLine(mask, reason, whom);
-}
-
void anope_SendSGLine(const char *mask, const char *reason)
{
ircdproto->SendSGLine(mask, reason);
diff --git a/src/operserv.c b/src/operserv.c
index 88b31264e..88db0e55e 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -1430,7 +1430,7 @@ int add_szline(User * u, char *mask, const char *by, const time_t expires,
entry->expires = expires;
slist_add(&szlines, entry);
- anope_SendSZLine(entry->mask, entry->reason, entry->by);
+ ircdproto->SendSZLine(entry->mask, entry->reason, entry->by);
return deleted;
}
@@ -1456,7 +1456,7 @@ int check_szline(const char *nick, char *ip)
}
if (match_wild_nocase(sx->mask, ip)) {
- anope_SendSZLine(sx->mask, sx->reason, sx->by);
+ ircdproto->SendSZLine(sx->mask, sx->reason, sx->by);
return 1;
}
}