1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 02:16:37 +02:00

Fix an inverted condition in enc_bcrypt.

This commit is contained in:
Sadie Powell
2024-03-12 00:17:19 +00:00
parent 77435dd0d9
commit a15f165a1d
+1 -1
View File
@@ -63,7 +63,7 @@ public:
Anope::string Finalize() override
{
auto salt = GenerateSalt();
if (!salt.empty())
if (salt.empty())
return {};
return Hash(this->buffer, salt);
}