diff options
author | Adam <Adam@drink-coca-cola.info> | 2010-04-29 17:31:34 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-18 20:58:52 -0400 |
commit | c1d161dec451ea790ff87078b5d80b1f71a3e9f0 (patch) | |
tree | 2ada0230d0411d10bb1e710d701874d253a4d4aa /include/modules.h | |
parent | 73e93305c10f349742fad3b2197c6c5dd3aea34e (diff) |
Rewrote all of the server handling code
Diffstat (limited to 'include/modules.h')
-rw-r--r-- | include/modules.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/modules.h b/include/modules.h index dcaac342c..afc6806d1 100644 --- a/include/modules.h +++ b/include/modules.h @@ -585,9 +585,9 @@ class CoreExport Module */ virtual void OnServerConnect() { } - /** Called when we are done synching with the uplink, just before we send the EOB + /** Called when we are almost done synching with the uplink, just before we send the EOB */ - virtual void OnFinishSync(Server *serv) { } + virtual void OnPreUplinkSync(Server *serv) { } /** Called when Anope disconnects from its uplink, before it tries to reconnect */ @@ -1060,8 +1060,9 @@ class CoreExport Module virtual void OnServerSync(Server *s) { } /** Called when we sync with our uplink + * @param s Our uplink */ - virtual void OnUplinkSync() { } + virtual void OnUplinkSync(Server *s) { } }; @@ -1109,7 +1110,7 @@ enum Implementation I_OnModuleLoad, I_OnModuleUnload, /* Other */ - I_OnReload, I_OnPreServerConnect, I_OnNewServer, I_OnServerConnect, I_OnFinishSync, I_OnServerDisconnect, I_OnPreCommandRun, + I_OnReload, I_OnPreServerConnect, I_OnNewServer, I_OnServerConnect, I_OnPreUplinkSync, I_OnServerDisconnect, I_OnPreCommandRun, I_OnPreCommand, I_OnPostCommand, I_OnPreDatabaseExpire, I_OnPreRestart, I_OnRestart, I_OnPreShutdown, I_OnShutdown, I_OnSignal, I_OnServerQuit, I_OnTopicUpdated, I_OnEncrypt, I_OnEncryptInPlace, I_OnEncryptCheckLen, I_OnDecrypt, I_OnCheckPassword, |