From 0e758a2ac23dc4a001e8e126cec14588da9a9769 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 28 Jul 2016 21:29:35 -0400 Subject: Allow serializable fields to use storage in the respective objects. Split service management code nito a proper servicemanager. Make service references managed instead of lazy lookup. Also made events and serializable use service manager instead of their respective systems for management --- include/modules/nickserv/info.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/modules/nickserv/info.h') diff --git a/include/modules/nickserv/info.h b/include/modules/nickserv/info.h index e816cc356..c9177c1c7 100644 --- a/include/modules/nickserv/info.h +++ b/include/modules/nickserv/info.h @@ -11,6 +11,10 @@ namespace Event { struct CoreExport NickInfo : Events { + static constexpr const char *NAME = "nickinfo"; + + using Events::Events; + /** Called when a user requests info for a nick * @param source The user requesting info * @param na The nick the user is requesting info from @@ -21,4 +25,3 @@ namespace Event }; } -template<> struct EventName { static constexpr const char *const name = "OnNickInfo"; }; -- cgit