From 82dcf8a39876553f6b7f5e0b4119e409b3f566aa Mon Sep 17 00:00:00 2001 From: "Robin Burchell w00t@inspircd.org" Date: Tue, 30 Sep 2008 18:45:13 +0000 Subject: Added cmd_jupe() function to IRCDProtoNew class. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1269 5417fbe8-f217-4b02-8779-1006273d7864 --- src/ircd.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/ircd.c') 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; -- cgit