summaryrefslogtreecommitdiff
path: root/include/modules/hostserv
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/hostserv')
-rw-r--r--include/modules/hostserv/del.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/modules/hostserv/del.h b/include/modules/hostserv/del.h
new file mode 100644
index 000000000..9b2ea39ef
--- /dev/null
+++ b/include/modules/hostserv/del.h
@@ -0,0 +1,20 @@
+/*
+ *
+ * (C) 2003-2014 Anope Team
+ * Contact us at team@anope.org
+ *
+ * Please read COPYING and README for further details.
+ */
+
+namespace Event
+{
+ struct CoreExport DeleteVhost : Events
+ {
+ /** Called when a vhost is deleted
+ * @param na The nickalias of the vhost
+ */
+ virtual void OnDeleteVhost(NickServ::Nick *na) anope_abstract;
+ };
+}
+
+template<> struct EventName<Event::DeleteVhost> { static constexpr const char *const name = "OnDeleteVhost"; };