mirror of
https://github.com/anope/anope.git
synced 2026-07-09 23:43:12 +02:00
Added more useful functions to our LDAP API, allow adding newly registered accounts to LDAP, removed some unnecessary OnPre events and fixed unloading all modules
This commit is contained in:
+1
-9
@@ -579,18 +579,10 @@ class CoreExport Module : public Extensible
|
||||
*/
|
||||
virtual void OnDatabaseWriteMetadata(void (*WriteMetadata)(const Anope::string &, const Anope::string &), ChannelInfo *ci) { }
|
||||
|
||||
/** Called before services restart
|
||||
*/
|
||||
virtual void OnPreRestart() { }
|
||||
|
||||
/** Called when services restart
|
||||
*/
|
||||
virtual void OnRestart() { }
|
||||
|
||||
/** Called before services shutdown
|
||||
*/
|
||||
virtual void OnPreShutdown() { }
|
||||
|
||||
/** Called when services shutdown
|
||||
*/
|
||||
virtual void OnShutdown() { }
|
||||
@@ -1100,7 +1092,7 @@ enum Implementation
|
||||
|
||||
/* Other */
|
||||
I_OnReload, I_OnPreServerConnect, I_OnNewServer, I_OnServerConnect, I_OnPreUplinkSync, I_OnServerDisconnect, I_OnPreCommandRun,
|
||||
I_OnPreCommand, I_OnPostCommand, I_OnPreRestart, I_OnRestart, I_OnPreShutdown, I_OnShutdown, I_OnSignal,
|
||||
I_OnPreCommand, I_OnPostCommand, I_OnRestart, I_OnShutdown, I_OnSignal,
|
||||
I_OnServerQuit, I_OnTopicUpdated,
|
||||
I_OnEncrypt, I_OnDecrypt,
|
||||
I_OnChannelModeSet, I_OnChannelModeUnset, I_OnUserModeSet, I_OnUserModeUnset, I_OnChannelModeAdd, I_OnUserModeAdd,
|
||||
|
||||
Reference in New Issue
Block a user