diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:13 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:13 +0000 |
| commit | 82dcf8a39876553f6b7f5e0b4119e409b3f566aa (patch) | |
| tree | 808e4441bcbd490b1ca6707b65ee0e8f4801a873 /src/ircd.c | |
| parent | 7eb190b1bd8cd9b3c89ec68aa0251fd5cd8e5add (diff) | |
Added cmd_jupe() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1269 5417fbe8-f217-4b02-8779-1006273d7864
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; |
