diff options
author | Adam <Adam@anope.org> | 2014-05-01 18:38:17 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-05-01 18:38:17 -0400 |
commit | d79dd0b7d705e8f18ae0d6494a8bc65c2b0c2819 (patch) | |
tree | 6db0098bd6dc92b00004bda90757a3024621bc79 /modules/extra/m_sql_authentication.cpp | |
parent | 8b2e8137f62fc9b88c0c9f6b065f6850490d5da6 (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/extra/m_sql_authentication.cpp')
-rw-r--r-- | modules/extra/m_sql_authentication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extra/m_sql_authentication.cpp b/modules/extra/m_sql_authentication.cpp index 2342ef89d..0710a6e20 100644 --- a/modules/extra/m_sql_authentication.cpp +++ b/modules/extra/m_sql_authentication.cpp @@ -42,7 +42,7 @@ class SQLAuthenticationResult : public SQL::Interface if (na == NULL) { na = new NickAlias(req->GetAccount(), new NickCore(req->GetAccount())); - FOREACH_MOD(OnNickRegister, (user, na)); + FOREACH_MOD(OnNickRegister, (user, na, "")); if (user && NickServ) user->SendMessage(NickServ, _("Your account \002%s\002 has been successfully created."), na->nick.c_str()); } |