summaryrefslogtreecommitdiff
path: root/modules/commands/ns_access.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-05-01 18:38:17 -0400
committerAdam <Adam@anope.org>2014-05-01 18:38:17 -0400
commitd79dd0b7d705e8f18ae0d6494a8bc65c2b0c2819 (patch)
tree6db0098bd6dc92b00004bda90757a3024621bc79 /modules/commands/ns_access.cpp
parent8b2e8137f62fc9b88c0c9f6b065f6850490d5da6 (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 'modules/commands/ns_access.cpp')
-rw-r--r--modules/commands/ns_access.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_access.cpp b/modules/commands/ns_access.cpp
index dfafdb37f..d01f6dc9b 100644
--- a/modules/commands/ns_access.cpp
+++ b/modules/commands/ns_access.cpp
@@ -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());