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); }