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 | 10fc9efa4da5124f183fd023c623d1e573e1a51d (patch) | |
tree | 3f126be657906b6974ae88d6686776868d8820ff /src/ircd.c | |
parent | 78ef810376f47aa52f51a92749110b31b363c036 (diff) |
Added cmd_svsmode_chan() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1257 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
-rw-r--r-- | src/ircd.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c index 07347f908..2445b5c6e 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_svsmode_chan = NULL; ircdproto.ircd_cmd_svid_umode = NULL; ircdproto.ircd_cmd_nc_change = NULL; ircdproto.ircd_cmd_svid_umode2 = NULL; @@ -525,7 +524,7 @@ void anope_cmd_unban(const char *name, const char *nick) void anope_cmd_svsmode_chan(const char *name, const char *mode, const char *nick) { - ircdproto.ircd_cmd_svsmode_chan(name, mode, nick); + ircdprotonew->cmd_svsmode_chan(name, mode, nick); } void anope_cmd_svid_umode(const char *nick, time_t ts) @@ -698,12 +697,6 @@ void pmodule_cmd_211(void (*func) (const char *buf)) ircdproto.ircd_cmd_211 = func; } -void -pmodule_cmd_svsmode_chan(void (*func) (const char *name, const char *mode, const char *nick)) -{ - ircdproto.ircd_cmd_svsmode_chan = func; -} - void pmodule_cmd_svid_umode(void (*func) (const char *nick, time_t ts)) { ircdproto.ircd_cmd_svid_umode = func; |