summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordukepyrolator <dukepyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-09 05:28:46 +0000
committerdukepyrolator <dukepyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2010-04-09 05:28:46 +0000
commita840ef8ae846c294e37952d066a2e0e1b4f72898 (patch)
tree5a1fb60377725566dc070243eb22f6e2e334a411 /include
parent2c792732053a676f0064a1b5ef4e8c82f08f6e7e (diff)
added a new event OnFinishSync, that allows modules to send additional data to the IRCd before we send the EOB
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2871 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
-rw-r--r--include/modules.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index 88a605acd..bc13e20ef 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -675,6 +675,10 @@ class CoreExport Module
*/
virtual void OnServerConnect() { }
+ /** Called when we are done synching with the uplink, just before we send the EOB
+ */
+ virtual void OnFinishSync(Server *serv) { }
+
/** Called when Anope disconnects from its uplink, before it tries to reconnect
*/
virtual void OnServerDisconnect() { }
@@ -1206,8 +1210,8 @@ enum Implementation
I_OnModuleLoad, I_OnModuleUnload,
/* Other */
- I_OnReload, I_OnPreServerConnect, I_OnNewServer, I_OnServerConnect, I_OnServerDisconnect, I_OnPreCommandRun, I_OnPreCommand,
- I_OnPostCommand, I_OnPreDatabaseExpire, I_OnPreRestart, I_OnRestart, I_OnPreShutdown, I_OnShutdown, I_OnSignal,
+ I_OnReload, I_OnPreServerConnect, I_OnNewServer, I_OnServerConnect, I_OnFinishSync, 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,
I_OnChannelModeSet, I_OnChannelModeUnset, I_OnUserModeSet, I_OnUserModeUnset, I_OnChannelModeAdd, I_OnUserModeAdd,