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 | cef2f72082b3ac4d8ebd5795e27fa986db422a33 (patch) | |
| tree | cb26d0cf9943a740dcd909ba2616c35cde2846a5 /include | |
| parent | f9b628b0d37844e66a8d2acae797a81444df78ba (diff) | |
Added cmd_topic() function to IRCDProtoNew class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1209 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 b416eede5..310ec59d0 100644 --- a/include/extern.h +++ b/include/extern.h @@ -609,7 +609,6 @@ E int servernum; /**** ircd.c ****/ E void pmodule_ircd_proto(IRCDProtoNew *); E void pmodule_set_mod_current_buffer(void (*func) (int ac, char **av)); -E void pmodule_cmd_topic(void (*func) (const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when)); E void pmodule_cmd_vhost_off(void (*func) (User * u)); E void pmodule_cmd_akill(void (*func) (const char *user, const char *host, const char *who, time_t when, time_t expires, const char *reason)); E void pmodule_cmd_svskill(void (*func) (const char *source, const char *user, const char *buf)); diff --git a/include/services.h b/include/services.h index b5c9dee55..8c917b677 100644 --- a/include/services.h +++ b/include/services.h @@ -1075,7 +1075,6 @@ struct session_ { **/ typedef struct ircd_proto_ { void (*ircd_set_mod_current_buffer)(int ac, char **av); - void (*ircd_cmd_topic)(const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when); void (*ircd_cmd_vhost_off)(User * u); void (*ircd_cmd_akill)(const char *user, const char *host, const char *who, time_t when,time_t expires, const char *reason); void (*ircd_cmd_svskill)(const char *source, const char *user, const char *buf); @@ -1151,6 +1150,7 @@ class IRCDProtoNew { public: virtual void cmd_svsnoop(const char *, int) { } virtual void cmd_remove_akill(const char *, const char *) = 0; + virtual void cmd_topic(const char *whosets, const char *chan, const char *whosetit, const char *topic, time_t when) = 0; }; typedef struct ircd_modes_ { |
