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 | 78ef810376f47aa52f51a92749110b31b363c036 (patch) | |
tree | 7cfb08f06602054343fdfc8a711d5dae1f5fe951 /src/ircd.c | |
parent | 4a4c4a9ee13ee06c7a1803f313e9c2a48e017e75 (diff) |
Added cmd_unban() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1256 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 e7cefcc4f..07347f908 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_unban = NULL; ircdproto.ircd_cmd_svsmode_chan = NULL; ircdproto.ircd_cmd_svid_umode = NULL; ircdproto.ircd_cmd_nc_change = NULL; @@ -521,7 +520,7 @@ void anope_cmd_sgline(const char *mask, const char *reason) void anope_cmd_unban(const char *name, const char *nick) { - ircdproto.ircd_cmd_unban(name, nick); + ircdprotonew->cmd_unban(name, nick); } void anope_cmd_svsmode_chan(const char *name, const char *mode, const char *nick) @@ -699,11 +698,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void pmodule_cmd_unban(void (*func) (const char *name, const char *nick)) -{ - ircdproto.ircd_cmd_unban = func; -} - void pmodule_cmd_svsmode_chan(void (*func) (const char *name, const char *mode, const char *nick)) { |