From c6cb4ba159a8916243d7ac5a5c4e8d13942baf99 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 26 Feb 2024 15:27:01 +0000 Subject: Fix some coding style issues. --- modules/encryption/enc_bcrypt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/encryption') diff --git a/modules/encryption/enc_bcrypt.cpp b/modules/encryption/enc_bcrypt.cpp index e7c19a2ae..3dea3f2c6 100644 --- a/modules/encryption/enc_bcrypt.cpp +++ b/modules/encryption/enc_bcrypt.cpp @@ -30,14 +30,14 @@ class EBCRYPT final return salt; } - Anope::string Generate(const Anope::string& data, const Anope::string& salt) + Anope::string Generate(const Anope::string &data, const Anope::string &salt) { char hash[64]; _crypt_blowfish_rn(data.c_str(), salt.c_str(), hash, sizeof(hash)); return hash; } - bool Compare(const Anope::string& string, const Anope::string& hash) + bool Compare(const Anope::string &string, const Anope::string &hash) { Anope::string ret = Generate(string, hash); if (ret.empty()) -- cgit