summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2015-01-10 14:30:41 +0100
committerAttila Molnar <attilamolnar@hush.com>2015-01-10 14:30:41 +0100
commitae10286658d6bb70e5e22526a004ec1b233f6fba (patch)
tree9dacee30487404f5e8c27338df205ed1d6b87e80 /include
parent0e5fb98a6b82af738f6d5c3093d9597d470be3a6 (diff)
Remove the unused OnGlobalOper hook
Diffstat (limited to 'include')
-rw-r--r--include/modules.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/modules.h b/include/modules.h
index b08192891..5a4090dfb 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -260,7 +260,7 @@ enum Implementation
I_OnUnloadModule, I_OnBackgroundTimer, I_OnPreCommand, I_OnCheckReady, I_OnCheckInvite,
I_OnRawMode, I_OnCheckKey, I_OnCheckLimit, I_OnCheckBan, I_OnCheckChannelBan, I_OnExtBanCheck,
I_OnStats, I_OnChangeLocalUserHost, I_OnPreTopicChange,
- I_OnPostTopicChange, I_OnEvent, I_OnGlobalOper, I_OnPostConnect,
+ I_OnPostTopicChange, I_OnEvent, I_OnPostConnect,
I_OnChangeLocalUserGECOS, I_OnUserRegister, I_OnChannelPreDelete, I_OnChannelDelete,
I_OnPostOper, I_OnSyncNetwork, I_OnSetAway, I_OnPostCommand, I_OnPostJoin,
I_OnWhoisLine, I_OnBuildNeighborList, I_OnGarbageCollect, I_OnSetConnectClass,
@@ -970,14 +970,6 @@ class CoreExport Module : public classbase, public usecountbase
*/
virtual ModResult OnPassCompare(Extensible* ex, const std::string &password, const std::string &input, const std::string& hashtype);
- /** Called whenever a user is given usermode +o, anywhere on the network.
- * You cannot override this and prevent it from happening as it is already happened and
- * such a task must be performed by another server. You can however bounce modes by sending
- * servermodes out to reverse mode changes.
- * @param user The user who is opering
- */
- virtual void OnGlobalOper(User* user);
-
/** Called after a user has fully connected and all modules have executed OnUserConnect
* This event is informational only. You should not change any user information in this
* event. To do so, use the OnUserConnect method to change the state of local users.