diff options
| author | Sadie Powell <sadie@witchery.services> | 2025-03-06 23:26:30 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2025-03-06 23:31:56 +0000 |
| commit | cccdf0431bd755ab927ce434458b831c58bc7244 (patch) | |
| tree | dd13f8ac465dc4716b08c624e3b3fa4c9d563146 /modules/database | |
| parent | 0005ebbbc38b2f07a5a30325995ed9a2352390e7 (diff) | |
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.
Diffstat (limited to 'modules/database')
| -rw-r--r-- | modules/database/db_atheme.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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<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!"; } } |
