diff options
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ircd.c b/src/ircd.c index 206f24544..d1682f029 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -51,7 +51,6 @@ void initIrcdProto() ircdproto.ircd_cmd_375 = NULL; ircdproto.ircd_cmd_376 = NULL; ircdproto.ircd_cmd_351 = NULL; - ircdproto.ircd_cmd_pong = NULL; ircdproto.ircd_cmd_join = NULL; ircdproto.ircd_cmd_unsqline = NULL; ircdproto.ircd_cmd_invite = NULL; @@ -306,7 +305,7 @@ void anope_cmd_quit(const char *source, const char *fmt, ...) void anope_cmd_pong(const char *servname, const char *who) { - ircdproto.ircd_cmd_pong(servname, who); + ircdprotonew->cmd_pong(servname, who); } void anope_cmd_join(const char *user, const char *channel, time_t chantime) @@ -661,11 +660,6 @@ void pmodule_cmd_351(void (*func) (const char *source)) ircdproto.ircd_cmd_351 = func; } -void pmodule_cmd_pong(void (*func) (const char *servname, const char *who)) -{ - ircdproto.ircd_cmd_pong = func; -} - void pmodule_cmd_join(void (*func) (const char *user, const char *channel, time_t chantime)) { |