1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 06: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:
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
@@ -198,7 +198,7 @@ class CommandNSRegister : public Command
Log(LOG_COMMAND, source, this) << "to register " << na->nick << " (email: " << (!na->nc->email.empty() ? na->nc->email : "none") << ")";
FOREACH_MOD(OnNickRegister, (source.GetUser(), na));
FOREACH_MOD(OnNickRegister, (source.GetUser(), na, pass));
if (na->nc->GetAccessCount())
source.Reply(_("Nickname \002%s\002 registered under your user@host-mask: %s"), u_nick.c_str(), na->nc->GetAccess(0).c_str());