diff options
author | Adam <Adam@anope.org> | 2017-10-12 19:28:34 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2017-10-12 19:28:34 -0400 |
commit | f13c450b938633a27014cabad377821f87ce16b0 (patch) | |
tree | 56dfaea42fde1c29f7a36a58a0a8b8edf38a7a8b /include | |
parent | e95c07291a824abbe7717f943e6f95eb6c638a4b (diff) |
Add post init event
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index 95b02f29a..c3dae33a5 100644 --- a/include/modules.h +++ b/include/modules.h @@ -301,6 +301,11 @@ class CoreExport Module : public Extensible * before they will be called. */ + /** Called on startup after database load, but before + * connecting to the uplink. + */ + virtual void OnPostInit() { throw NotImplementedException(); } + /** Called before a user has been kicked from a channel. * @param source The kicker * @param cu The user, channel, and status of the user being kicked @@ -1099,6 +1104,7 @@ class CoreExport Module : public Extensible enum Implementation { + I_OnPostInit, I_OnPreUserKicked, I_OnUserKicked, I_OnReload, I_OnPreBotAssign, I_OnBotAssign, I_OnBotUnAssign, I_OnUserConnect, I_OnNewServer, I_OnUserNickChange, I_OnPreHelp, I_OnPostHelp, I_OnPreCommand, I_OnPostCommand, I_OnSaveDatabase, I_OnLoadDatabase, I_OnEncrypt, I_OnDecrypt, I_OnBotFantasy, I_OnBotNoFantasyAccess, I_OnBotBan, I_OnBadWordAdd, |