diff options
| author | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-31 04:42:00 +0000 |
|---|---|---|
| committer | Adam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864> | 2010-03-31 04:42:00 +0000 |
| commit | b1c34faf49a74d5fe9db4d2601f78eb2e6b93ee1 (patch) | |
| tree | 9306727092817b60dd5be6a0eba20fa29b652f04 /include | |
| parent | b55ac06019785b308ac1ead44414f8c6dee226fc (diff) | |
Fixed cs_xop to not add its commands until after it knows what modes as supported by the IRCd
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2849 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 318f5e397..bf178d72d 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1147,6 +1147,15 @@ class CoreExport Module */ virtual void OnModuleUnload(User *u, Module *m) { } + /** Called when a server is synced + * @param s The server, can be our uplink server + */ + virtual void OnServerSync(Server *s) { } + + /** Called when we sync with our uplink + */ + virtual void OnUplinkSync() { } + }; @@ -1198,7 +1207,7 @@ enum Implementation 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, - I_OnMLock, I_OnUnMLock, + I_OnMLock, I_OnUnMLock, I_OnServerSync, I_OnUplinkSync, I_END }; |
