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 | 11bc234c5bd8003c166d51f798e2cd474d2f245a (patch) | |
tree | 1a10974a003aad2389b362a3ba2d92a0ec408a9f /src/ircd.c | |
parent | 6a0340b453460b6608bffffb361fa569f74bf29d (diff) |
Added cmd_release_svshold() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1251 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 d75563dd3..bf3889027 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_release_svshold = NULL; ircdproto.ircd_cmd_unsgline = NULL; ircdproto.ircd_cmd_unszline = NULL; ircdproto.ircd_cmd_szline = NULL; @@ -501,7 +500,7 @@ void anope_cmd_svshold(const char *nick) void anope_cmd_release_svshold(const char *nick) { - ircdproto.ircd_cmd_release_svshold(nick); + ircdprotonew->cmd_release_svshold(nick); } void anope_cmd_unsgline(const char *mask) @@ -704,11 +703,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void pmodule_cmd_release_svshold(void (*func) (const char *nick)) -{ - ircdproto.ircd_cmd_release_svshold = func; -} - void pmodule_cmd_unsgline(void (*func) (const char *mask)) { ircdproto.ircd_cmd_unsgline = func; |