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:
@@ -63,7 +63,7 @@ public:
|
||||
Anope::string Finalize() override
|
||||
{
|
||||
auto salt = GenerateSalt();
|
||||
if (!salt.empty())
|
||||
if (salt.empty())
|
||||
return {};
|
||||
return Hash(this->buffer, salt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user