diff options
| author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
|---|---|---|
| committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
| commit | 00466f884cca8975972d0802999288da2c0b9fdf (patch) | |
| tree | bc6a5351dc09820330d6b3429b654bf9377f06b7 /include | |
| parent | 7a167d97af6ef7e97c05488ae37c8f482173adb9 (diff) | |
Added cmd_mode() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1218 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/extern.h | 1 | ||||
| -rw-r--r-- | include/services.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/extern.h b/include/extern.h index 8a5c3c948..10789017c 100644 --- a/include/extern.h +++ b/include/extern.h @@ -613,7 +613,6 @@ 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)); E void pmodule_cmd_376(void (*func) (const char *source)); -E void pmodule_cmd_mode(void (*func) (const char *source, const char *dest, const char *buf)); E void pmodule_cmd_bot_nick(void (*func) (const char *nick, const char *user, const char *host, const char *real, const char *modes)); E void pmodule_cmd_kick(void (*func) (const char *source, const char *chan, const char *user, const char *buf)); E void pmodule_cmd_notice_ops(void (*func) (const char *source, const char *dest, const char *buf)); diff --git a/include/services.h b/include/services.h index 1faa0e2c6..13aa38b8f 100644 --- a/include/services.h +++ b/include/services.h @@ -1079,7 +1079,6 @@ typedef struct ircd_proto_ { void (*ircd_cmd_372_error)(const char *source); void (*ircd_cmd_375)(const char *source); void (*ircd_cmd_376)(const char *source); - void (*ircd_cmd_mode)(const char *source, const char *dest, const char *buf); void (*ircd_cmd_bot_nick)(const char *nick, const char *user, const char *host, const char *real, const char *modes); void (*ircd_cmd_kick)(const char *source, const char *chan, const char *user, const char *buf); void (*ircd_cmd_notice_ops)(const char *source, const char *dest, const char *buf); @@ -1151,6 +1150,7 @@ class IRCDProtoNew { virtual void cmd_svsmode(User *u, int ac, const char **av) = 0; virtual void cmd_nick(const char *, const char *, const char *) = 0; virtual void cmd_guest_nick(const char *, const char *, const char *, const char *, const char *) { } + virtual void cmd_mode(const char *source, const char *dest, const char *buf) = 0; }; typedef struct ircd_modes_ { |
