1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 16:13:13 +02:00

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

This commit is contained in:
Adam
2014-05-01 18:38:17 -04:00
parent 8b2e8137f6
commit d79dd0b7d7
6 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -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