diff options
| author | Adam <Adam@anope.org> | 2014-05-01 18:38:17 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2014-05-01 18:38:17 -0400 |
| commit | d79dd0b7d705e8f18ae0d6494a8bc65c2b0c2819 (patch) | |
| tree | 6db0098bd6dc92b00004bda90757a3024621bc79 /include | |
| parent | 8b2e8137f62fc9b88c0c9f6b065f6850490d5da6 (diff) | |
Pass password to nick register event so modules like m_ldap_authentication can create the respective account using the decrypted password which might not always be available
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 90dd23807..6f7803cff 100644 --- a/include/modules.h +++ b/include/modules.h @@ -743,8 +743,9 @@ class CoreExport Module : public Extensible /** Called when a nick is registered * @param user The user registering the nick, of any * @param The nick + * @param pass The password of the newly registered nick */ - virtual void OnNickRegister(User *user, NickAlias *na) { throw NotImplementedException(); } + virtual void OnNickRegister(User *user, NickAlias *na, const Anope::string &pass) { throw NotImplementedException(); } /** Called when a nick is suspended * @param na The nick alias |
