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 05fae4f13..11eb32293 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -64,7 +64,6 @@ void initIrcdProto() ircdproto.ircd_cmd_243 = NULL; ircdproto.ircd_cmd_211 = NULL; ircdproto.ircd_flood_mode_check = NULL; - ircdproto.ircd_cmd_jupe = NULL; ircdproto.ircd_valid_nick = NULL; ircdproto.ircd_valid_chan = NULL; } @@ -565,7 +564,7 @@ int anope_flood_mode_check(const char *value) void anope_cmd_jupe(const char *jserver, const char *who, const char *reason) { - ircdproto.ircd_cmd_jupe(jserver, who, reason); + ircdprotonew->cmd_jupe(jserver, who, reason); } int anope_valid_nick(const char *nick) @@ -687,12 +686,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void -pmodule_cmd_jupe(void (*func) (const char *jserver, const char *who, const char *reason)) -{ - ircdproto.ircd_cmd_jupe = func; -} - void pmodule_set_umode(void (*func) (User * user, int ac, const char **av)) { ircdproto.ircd_set_umode = func; |
