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