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:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user