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/hostserv/del.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/modules/hostserv') diff --git a/include/modules/hostserv/del.h b/include/modules/hostserv/del.h index 9b2ea39ef..23b8537e8 100644 --- a/include/modules/hostserv/del.h +++ b/include/modules/hostserv/del.h @@ -10,6 +10,10 @@ namespace Event { struct CoreExport DeleteVhost : Events { + static constexpr const char *NAME = "deletevhost"; + + using Events::Events; + /** Called when a vhost is deleted * @param na The nickalias of the vhost */ @@ -17,4 +21,3 @@ namespace Event }; } -template<> struct EventName { static constexpr const char *const name = "OnDeleteVhost"; }; -- cgit