From cccdf0431bd755ab927ce434458b831c58bc7244 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 6 Mar 2025 23:26:30 +0000 Subject: [PATCH] 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. --- modules/database/db_atheme.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/database/db_atheme.cpp b/modules/database/db_atheme.cpp index b97aa2984..ada5d25a6 100644 --- a/modules/database/db_atheme.cpp +++ b/modules/database/db_atheme.cpp @@ -505,7 +505,10 @@ private: // Generate a new password as we can't use the old one. auto maxpasslen = Config->GetModule("nickserv").Get("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!"; } }