From a840ef8ae846c294e37952d066a2e0e1b4f72898 Mon Sep 17 00:00:00 2001 From: dukepyrolator Date: Fri, 9 Apr 2010 05:28:46 +0000 Subject: 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 --- include/modules.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include') 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, -- cgit