diff options
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c index 370507d5b..2bd2e69e0 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -63,7 +63,6 @@ void initIrcdProto() ircdproto.ircd_cmd_242 = NULL; ircdproto.ircd_cmd_243 = NULL; ircdproto.ircd_cmd_211 = NULL; - ircdproto.ircd_cmd_szline = NULL; ircdproto.ircd_cmd_sgline = NULL; ircdproto.ircd_cmd_unban = NULL; ircdproto.ircd_cmd_svsmode_chan = NULL; @@ -513,7 +512,7 @@ void anope_cmd_unszline(const char *mask) void anope_cmd_szline(const char *mask, const char *reason, const char *whom) { - ircdproto.ircd_cmd_szline(mask, reason, whom); + ircdprotonew->cmd_szline(mask, reason, whom); } void anope_cmd_sgline(const char *mask, const char *reason) @@ -701,12 +700,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void -pmodule_cmd_szline(void (*func) (const char *mask, const char *reason, const char *whom)) -{ - ircdproto.ircd_cmd_szline = func; -} - void pmodule_cmd_sgline(void (*func) (const char *mask, const char *reason)) { ircdproto.ircd_cmd_sgline = func; |