diff options
| author | Adam <Adam@anope.org> | 2015-12-31 13:01:18 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2015-12-31 13:01:18 -0500 |
| commit | 1b24c96ab07d99e5d95ec9337e7b541696b91eb3 (patch) | |
| tree | 4524a0bccec9842bc962bb96471608aab719c773 /include/modules/botserv/info.h | |
| parent | 17b7508058162a722120dd7a9d95c20b979af2e9 (diff) | |
Rename haader file names to be consistent with module names
Diffstat (limited to 'include/modules/botserv/info.h')
| -rw-r--r-- | include/modules/botserv/info.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/modules/botserv/info.h b/include/modules/botserv/info.h new file mode 100644 index 000000000..1ebd58c89 --- /dev/null +++ b/include/modules/botserv/info.h @@ -0,0 +1,21 @@ +/* + * + * (C) 2014 Anope Team + * Contact us at team@anope.org + * + * Please read COPYING and README for further details. + * + */ + +namespace Event +{ + struct CoreExport ServiceBotEvent : Events + { + /** Called when a user uses botserv/info on a bot or channel. + */ + virtual void OnServiceBot(CommandSource &source, ServiceBot *bi, ChanServ::Channel *ci, InfoFormatter &info) anope_abstract; + }; + extern CoreExport EventHandlers<ServiceBotEvent> OnServiceBot; +} + +template<> struct EventName<Event::ServiceBotEvent> { static constexpr const char *const name = "OnServiceBot"; }; |
