1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 05:33: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
+1 -1
View File
@@ -196,7 +196,7 @@ class NSAccess : public Module
{
}
void OnNickRegister(User *u, NickAlias *na) anope_override
void OnNickRegister(User *u, NickAlias *na, const Anope::string &) anope_override
{
if (u && Config->GetModule(this)->Get<bool>("addaccessonreg"))
na->nc->AddAccess(u->Mask());