summaryrefslogtreecommitdiff
path: root/include/modules/hostserv
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/hostserv')
-rw-r--r--include/modules/hostserv/del.h5
1 files changed, 4 insertions, 1 deletions
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<Event::DeleteVhost> { static constexpr const char *const name = "OnDeleteVhost"; };