From 1b24c96ab07d99e5d95ec9337e7b541696b91eb3 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 31 Dec 2015 13:01:18 -0500 Subject: Rename haader file names to be consistent with module names --- include/modules/chanserv/access.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 include/modules/chanserv/access.h (limited to 'include/modules/chanserv/access.h') diff --git a/include/modules/chanserv/access.h b/include/modules/chanserv/access.h new file mode 100644 index 000000000..54eb3f353 --- /dev/null +++ b/include/modules/chanserv/access.h @@ -0,0 +1,28 @@ +/* + * + * (C) 2014 Anope Team + * Contact us at team@anope.org + * + * Please read COPYING and README for further details. + * + */ + +static Serialize::TypeReference accesschanaccess("AccessChanAccess"); +static Serialize::TypeReference flagschanaccess("FlagsChanAccess"); +static Serialize::TypeReference xopchanaccess("XOPChanAccess"); + +namespace Event +{ + struct CoreExport LevelChange : Events + { + /** Called when a level for a channel is changed + * @param source The source of the command + * @param ci The channel the level was changed on + * @param priv The privilege changed + * @param what The new level + */ + virtual void OnLevelChange(CommandSource &source, ChanServ::Channel *ci, const Anope::string &priv, int16_t what) anope_abstract; + }; +} + +template<> struct EventName { static constexpr const char *const name = "OnLevelChange"; }; -- cgit