1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 18:16:38 +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
@@ -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());
}