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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user