diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:10 +0000 |
| commit | 24ae706b9cbeef0efc697c15df3fec3828e2bdc1 (patch) | |
| tree | 5937dbb9ed5b7b70c213891ae80a41833f337731 /src/ircd.c | |
| parent | 3d4bf6d876f2ad537506cc2e3d0ef5d7051762e6 (diff) | |
Added cmd_svsmode() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1214 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/ircd.c')
| -rw-r--r-- | src/ircd.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/ircd.c b/src/ircd.c index dc7b0d02e..a243c9ca0 100644 --- a/src/ircd.c +++ b/src/ircd.c @@ -47,7 +47,6 @@ void initIrcdProto() ircdproto.ircd_set_mod_current_buffer = NULL; ircdproto.ircd_set_umode = NULL; ircdproto.ircd_cmd_svskill = NULL; - ircdproto.ircd_cmd_svsmode = NULL; ircdproto.ircd_cmd_372 = NULL; ircdproto.ircd_cmd_372_error = NULL; ircdproto.ircd_cmd_375 = NULL; @@ -168,9 +167,9 @@ void anope_cmd_svskill(const char *source, const char *user, const char *fmt, .. ircdproto.ircd_cmd_svskill(source, user, buf); } -void anope_cmd_svsmode(User * u, int ac, const char **av) +void anope_cmd_svsmode(User *u, int ac, const char **av) { - ircdproto.ircd_cmd_svsmode(u, ac, av); + ircdprotonew->cmd_svsmode(u, ac, av); } void anope_cmd_372(const char *source, const char *msg) @@ -691,11 +690,6 @@ pmodule_cmd_svskill(void (*func) (const char *source, const char *user, const ch ircdproto.ircd_cmd_svskill = func; } -void pmodule_cmd_svsmode(void (*func) (User * u, int ac, const char **av)) -{ - ircdproto.ircd_cmd_svsmode = func; -} - void pmodule_cmd_372(void (*func) (const char *source, const char *msg)) { ircdproto.ircd_cmd_372 = func; |
