diff options
author | Peter Powell <petpow@saberuk.com> | 2018-04-21 12:04:43 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2018-04-22 13:02:19 +0100 |
commit | 35b70631f0532a5828b04a8e0c02092a285f331a (patch) | |
tree | 9e54fba45e659f23fb3b94341debfc0b23bc63af /include | |
parent | 46e71e2f509eb38166fafcc69931117f0f9b7798 (diff) | |
parent | dd3b11b3aa4eb6cb0b6aff4b245a9b075759737d (diff) |
Merge tag 'v2.0.26' into master.
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 11bf6d55a..082079cd9 100644 --- a/include/modules.h +++ b/include/modules.h @@ -221,7 +221,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_OnChangeLocalUserHost, I_OnPreTopicChange, - I_OnPostTopicChange, I_OnPostConnect, + I_OnPostTopicChange, I_OnPostConnect, I_OnPostDeoper, I_OnChangeLocalUserGECOS, I_OnUserRegister, I_OnChannelPreDelete, I_OnChannelDelete, I_OnPostOper, I_OnSetAway, I_OnPostCommand, I_OnPostJoin, I_OnBuildNeighborList, I_OnGarbageCollect, I_OnSetConnectClass, @@ -448,6 +448,11 @@ class CoreExport Module : public classbase, public usecountbase */ virtual void OnPostOper(User* user, const std::string &opername, const std::string &opertype); + /** Called after a user deopers locally. + * @param user The user who has deopered. + */ + virtual void OnPostDeoper(User* user); + /** Called whenever a user types /INFO. * The User will contain the information of the user who typed the command. Modules may use this * method to output their own credits in /INFO (which is the ircd's version of an about box). |