diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-12 00:17:19 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-12 00:17:49 +0000 |
commit | a15f165a1d2d71c3db54d57779bec34914cbc171 (patch) | |
tree | b3b5883b782c4b76aeb2285f65fed838d9342760 /modules | |
parent | 77435dd0d9642837758db74f28ca19fba9a2a4bb (diff) |
Fix an inverted condition in enc_bcrypt.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/encryption/enc_bcrypt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/encryption/enc_bcrypt.cpp b/modules/encryption/enc_bcrypt.cpp index 0800b2d66..8af775e6d 100644 --- a/modules/encryption/enc_bcrypt.cpp +++ b/modules/encryption/enc_bcrypt.cpp @@ -63,7 +63,7 @@ public: Anope::string Finalize() override { auto salt = GenerateSalt(); - if (!salt.empty()) + if (salt.empty()) return {}; return Hash(this->buffer, salt); } |