diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:12 +0000 |
commit | 7c9682775a6b374d80b68ff46634b315a9e098c3 (patch) | |
tree | ff2c49eba174aa98af9e7f8c53120f0bdd3fe1ff /src/ircd.c | |
parent | 11bc234c5bd8003c166d51f798e2cd474d2f245a (diff) |
Added cmd_unsgline() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1252 5417fbe8-f217-4b02-8779-1006273d7864
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 bf3889027..a4edd0b18 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -63,7 +63,6 @@ void initIrcdProto() ircdproto.ircd_cmd_242 = NULL; ircdproto.ircd_cmd_243 = NULL; ircdproto.ircd_cmd_211 = NULL; - ircdproto.ircd_cmd_unsgline = NULL; ircdproto.ircd_cmd_unszline = NULL; ircdproto.ircd_cmd_szline = NULL; ircdproto.ircd_cmd_sgline = NULL; @@ -505,7 +504,7 @@ void anope_cmd_release_svshold(const char *nick) void anope_cmd_unsgline(const char *mask) { - ircdproto.ircd_cmd_unsgline(mask); + ircdprotonew->cmd_unsgline(mask); } void anope_cmd_unszline(const char *mask) @@ -703,11 +702,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void pmodule_cmd_unsgline(void (*func) (const char *mask)) -{ - ircdproto.ircd_cmd_unsgline = func; -} - void pmodule_cmd_unszline(void (*func) (const char *mask)) { ircdproto.ircd_cmd_unszline = func; |