1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 18:43:13 +02:00

Don't warn when importing an external auth account from Atheme.

This happens when Atheme was using LDAP to authenticate users. We
will replace the temporary password at a later date if Anope is set
up to use LDAP too.
This commit is contained in:
Sadie Powell
2025-03-06 23:26:30 +00:00
parent 0005ebbbc3
commit cccdf0431b
+4 -1
View File
@@ -505,7 +505,10 @@ private:
// Generate a new password as we can't use the old one.
auto maxpasslen = Config->GetModule("nickserv").Get<unsigned>("maxpasslen", "50");
Anope::Encrypt(Anope::Random(maxpasslen), nc->pass);
Log(this) << "Unable to convert the password for " << nc->display << " as Anope does not support the format!";
// If the password is set to * then an external service is being used for authentication.
if (pass != "*")
Log(this) << "Unable to convert the password for " << nc->display << " as Anope does not support the format!";
}
}