1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 06:56:39 +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
-1
View File
@@ -610,7 +610,6 @@ E int servernum;
E void pmodule_ircd_proto(IRCDProtoNew *);
E void pmodule_set_mod_current_buffer(void (*func) (int ac, char **av));
E void pmodule_cmd_svskill(void (*func) (const char *source, const char *user, const char *buf));
E void pmodule_cmd_svsmode(void (*func) (User * u, int ac, const char **av));
E void pmodule_cmd_372(void (*func) (const char *source, const char *msg));
E void pmodule_cmd_372_error(void (*func) (const char *source));
E void pmodule_cmd_375(void (*func) (const char *source));
+1 -1
View File
@@ -1076,7 +1076,6 @@ struct session_ {
typedef struct ircd_proto_ {
void (*ircd_set_mod_current_buffer)(int ac, char **av);
void (*ircd_cmd_svskill)(const char *source, const char *user, const char *buf);
void (*ircd_cmd_svsmode)(User * u, int ac, const char **av);
void (*ircd_cmd_372)(const char *source, const char *msg);
void (*ircd_cmd_372_error)(const char *source);
void (*ircd_cmd_375)(const char *source);
@@ -1152,6 +1151,7 @@ class IRCDProtoNew {
virtual void cmd_vhost_off(User *) { }
virtual void cmd_akill(const char *, const char *, const char *, time_t, time_t, const char *) = 0;
virtual void cmd_svskill(const char *source, const char *user, const char *buf) = 0;
virtual void cmd_svsmode(User *u, int ac, const char **av) = 0;
};
typedef struct ircd_modes_ {