1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 09:13:12 +02:00

Added cmd_svsmode() function to IRCDProtoNew class.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1214 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Robin Burchell w00t@inspircd.org
2008-09-30 18:45:10 +00:00
parent 3d4bf6d876
commit 24ae706b9c
13 changed files with 25 additions and 51 deletions
+2 -8
View File
@@ -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;