diff options
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/ircd.c b/src/ircd.c index 58184667b..25336fb5d 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -50,7 +50,6 @@ void initIrcdProto() ircdproto.ircd_cmd_372_error = NULL; ircdproto.ircd_cmd_375 = NULL; ircdproto.ircd_cmd_376 = NULL; - ircdproto.ircd_cmd_guest_nick = NULL; ircdproto.ircd_cmd_mode = NULL; ircdproto.ircd_cmd_bot_nick = NULL; ircdproto.ircd_cmd_kick = NULL; @@ -196,7 +195,7 @@ void anope_cmd_nick(const char *nick, const char *name, const char *modes) void anope_cmd_guest_nick(const char *nick, const char *user, const char *host, const char *real, const char *modes) { - ircdproto.ircd_cmd_guest_nick(nick, user, host, real, modes); + ircdprotonew->cmd_guest_nick(nick, user, host, real, modes); } void anope_cmd_mode(const char *source, const char *dest, const char *fmt, ...) @@ -701,13 +700,6 @@ void pmodule_cmd_376(void (*func) (const char *source)) ircdproto.ircd_cmd_376 = func; } -void pmodule_cmd_guest_nick(void (*func) - (const char *nick, const char *user, const char *host, - const char *real, const char *modes)) -{ - ircdproto.ircd_cmd_guest_nick = func; -} - void pmodule_cmd_mode(void (*func) (const char *source, const char *dest, const char *buf)) { ircdproto.ircd_cmd_mode = func; |