diff options
| author | Adam <Adam@anope.org> | 2011-03-05 17:23:22 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-03-05 17:23:22 -0500 |
| commit | 6fe2d8af973dfb0c81f513e56488e39a4eea2fbf (patch) | |
| tree | 432b93053ef56d1ff98b3193d5768a4ca16d3785 /include/modules.h | |
| parent | 90e5d0feaa1646c28cfce45dbde1a914a6f1d62c (diff) | |
Removed nickrequests, instead have unconfirmed registrations. Also made ns_resetpass allow remote-id to get past things such as kill immed.
Diffstat (limited to 'include/modules.h')
| -rw-r--r-- | include/modules.h | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/include/modules.h b/include/modules.h index 5b78584d1..8367b084f 100644 --- a/include/modules.h +++ b/include/modules.h @@ -561,14 +561,6 @@ class CoreExport Module : public Extensible */ virtual EventReturn OnDatabaseReadMetadata(NickAlias *na, const Anope::string &key, const std::vector<Anope::string> ¶ms) { return EVENT_CONTINUE; } - /** Called when nickrequest metadata is read from the database - * @param nr The nickrequest - * @parm key The metadata key - * @param params The params from the database - * @return EVENT_CONTINUE to let other modules decide, EVENT_STOP to stop processing - */ - virtual EventReturn OnDatabaseReadMetadata(NickRequest *nr, const Anope::string &key, const std::vector<Anope::string> ¶ms) { return EVENT_CONTINUE; } - /** Called when botinfo metadata is read from the database * @param bi The botinfo * @param key The metadata key @@ -597,12 +589,6 @@ class CoreExport Module : public Extensible */ virtual void OnDatabaseWriteMetadata(void (*WriteMetadata)(const Anope::string &, const Anope::string &), NickAlias *na) { } - /** Called when we are wrting metadata for a nickrequest - * @param WriteMetata A callback function used to insert the metadata - * @param nr The nick request - */ - virtual void OnDatabaseWriteMetadata(void (*WriteMetadata)(const Anope::string &, const Anope::string &), NickRequest *nr) { } - /** Called when we are writing metadata for a botinfo * @param WriteMetata A callback function used to insert the metadata * @param bi The botinfo @@ -884,16 +870,6 @@ class CoreExport Module : public Extensible */ virtual void OnChangeCoreDisplay(NickCore *nc, const Anope::string &newdisplay) { } - /** called from ns_register.c, after the NickRequest have been created - * @param nr pointer to the NickRequest - */ - virtual void OnMakeNickRequest(NickRequest *nr) { } - - /** called on delnickrequest() - * @param nr pointer to the NickRequest - */ - virtual void OnDelNickRequest(NickRequest *nr) { } - /** called from NickCore::ClearAccess() * @param nc pointer to the NickCore */ @@ -1082,7 +1058,7 @@ enum Implementation I_OnPreNickExpire, I_OnNickExpire, I_OnNickForbidden, I_OnNickGroup, I_OnNickLogout, I_OnNickIdentify, I_OnNickDrop, I_OnNickRegister, I_OnNickSuspended, I_OnNickUnsuspended, I_OnDelNick, I_OnDelCore, I_OnChangeCoreDisplay, - I_OnDelNickRequest, I_OnMakeNickRequest, I_OnNickClearAccess, I_OnNickAddAccess, I_OnNickEraseAccess, + I_OnNickClearAccess, I_OnNickAddAccess, I_OnNickEraseAccess, I_OnNickInfo, I_OnFindNick, I_OnFindCore, /* ChanServ */ |
