diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
commit | 7a167d97af6ef7e97c05488ae37c8f482173adb9 (patch) | |
tree | 6006339a603bf8d88c33c8c42811a1a63faac2f6 /src/ircd.c | |
parent | 60b293b58edab6e6701f5b4911293a762fbbcf52 (diff) |
Added cmd_guest_nick() function to IRCDProtoClass.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1217 5417fbe8-f217-4b02-8779-1006273d7864
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; |