diff options
| author | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-22 04:39:22 +0000 |
|---|---|---|
| committer | DukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-08-22 04:39:22 +0000 |
| commit | 4bf22fa2e6192d2321593377d847ac676af4d856 (patch) | |
| tree | de065a28cd6b63dc6608b739eb14ab00b545aca4 /include | |
| parent | bcf9852eecc1905632c284e4665c745173c9e9b7 (diff) | |
added more events
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2461 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules.h | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index 00d32f27e..101fa6902 100644 --- a/include/modules.h +++ b/include/modules.h @@ -799,6 +799,10 @@ class CoreExport Module */ virtual void OnDefconLevel(int level) { } + /** Called on finduser() + * @param u pointer to the user + */ + virtual void OnFindUser(User *u) { } /** Called on findnick() * @param nick nickname to be searched for */ @@ -844,6 +848,28 @@ class CoreExport Module * @param nc pointer to the NickCore */ virtual void OnNickClearAccess(NickCore *nc) { } + + /** called from NickCore::EraseAccess() + * @param nc pointer to the NickCore + * @param entry The access mask + */ + virtual void OnNickEraseAccess(NickCore *nc, const std::string &entry) { } + + /** called when a HostCore is deleted + * @param hc pointer to the HostCore + */ + virtual void OnDeleteHostCore(HostCore *hc) { } + + /** called on findHostCore + * @param nick the name of the HostCore we are searching for + */ + virtual void OnFindHostCore(const std::string &nick) { } + + /** called when a new HostCore is inserted + * @param hc pointer to the HostCore + */ + virtual void OnInsertHostCore(HostCore *hc) { } + }; @@ -855,8 +881,8 @@ enum Implementation /* NickServ */ I_OnNickExpire, I_OnNickForbidden, I_OnNickGroup, I_OnNickLogout, I_OnNickIdentify, I_OnNickDrop, I_OnNickRegister, I_OnNickSuspended, I_OnNickUnsuspended, - I_OnFindNick, I_OnDelNick, I_OnFindCore, I_OnDelCore, I_OnChangeCoreDisplay, - I_OnFindRequestNick, I_OnDelNickRequest, I_OnMakeNickRequest, I_OnNickClearAccess, + I_OnFindUser, I_OnFindNick, I_OnDelNick, I_OnFindCore, I_OnDelCore, I_OnChangeCoreDisplay, + I_OnFindRequestNick, I_OnDelNickRequest, I_OnMakeNickRequest, I_OnNickClearAccess, I_OnNickEraseAccess, /* ChanServ */ I_OnChanForbidden, I_OnChanSuspend, I_OnChanDrop, I_OnChanExpire, I_OnAccessAdd, I_OnAccessChange, @@ -866,6 +892,9 @@ enum Implementation I_OnBotJoin, I_OnBotKick, I_OnBotCreate, I_OnBotChange, I_OnBotDelete, I_OnBotAssign, I_OnBotUnAssign, I_OnUserKicked, I_OnBotFantasy, I_OnBotNoFantasyAccess, I_OnBotBan, + /* HostServ */ + I_OnDeleteHostCore, I_OnFindHostCore, I_OnInsertHostCore, + /* Users */ I_OnUserConnect, I_OnUserNickChange, I_OnUserLogoff, I_OnPreJoinChannel, I_OnJoinChannel, I_OnPrePartChannel, I_OnPartChannel, |
