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 cceb57e14..464613369 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_svspart = NULL; ircdproto.ircd_cmd_swhois = NULL; ircdproto.ircd_cmd_eob = NULL; ircdproto.ircd_flood_mode_check = NULL; @@ -548,7 +547,7 @@ void anope_cmd_svsjoin(const char *source, const char *nick, const char *chan, c void anope_cmd_svspart(const char *source, const char *nick, const char *chan) { - ircdproto.ircd_cmd_svspart(source, nick, chan); + ircdprotonew->cmd_svspart(source, nick, chan); } void anope_cmd_swhois(const char *source, const char *who, const char *mask) @@ -690,12 +689,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void -pmodule_cmd_svspart(void (*func) (const char *source, const char *nick, const char *chan)) -{ - ircdproto.ircd_cmd_svspart = func; -} - void pmodule_cmd_swhois(void (*func) (const char *source, const char *who, const char *mask)) { ircdproto.ircd_cmd_swhois = func; |