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 | 6a0340b453460b6608bffffb361fa569f74bf29d (patch) | |
tree | 0772b5e894b0220bf890753adb82e2f30a47f0de /src/ircd.c | |
parent | 081a0311c8e4ecad02ca8b3232c58de7b898621f (diff) |
Added cmd_svshold() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1250 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 30224452a..d75563dd3 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_svshold = NULL; ircdproto.ircd_cmd_release_svshold = NULL; ircdproto.ircd_cmd_unsgline = NULL; ircdproto.ircd_cmd_unszline = NULL; @@ -497,7 +496,7 @@ void anope_cmd_connect() void anope_cmd_svshold(const char *nick) { - ircdproto.ircd_cmd_svshold(nick); + ircdprotonew->cmd_svshold(nick); } void anope_cmd_release_svshold(const char *nick) @@ -705,11 +704,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void pmodule_cmd_svshold(void (*func) (const char *nick)) -{ - ircdproto.ircd_cmd_svshold = func; -} - void pmodule_cmd_release_svshold(void (*func) (const char *nick)) { ircdproto.ircd_cmd_release_svshold = func; |