diff options
Diffstat (limited to 'include/event.h')
-rw-r--r-- | include/event.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/event.h b/include/event.h index c95544790..985eb6ef7 100644 --- a/include/event.h +++ b/include/event.h @@ -154,6 +154,17 @@ class EventManager namespace Event { + struct CoreExport PostInit : Events + { + static constexpr const char *NAME = "postinit"; + + using Events::Events; + + /** Called after initialization but before connect + */ + virtual void OnPostInit() anope_abstract; + }; + struct CoreExport PreUserKicked : Events { static constexpr const char *NAME = "preuserkicked"; |