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

Fix some coding style issues.

This commit is contained in:
Sadie Powell
2024-02-26 15:27:01 +00:00
parent e341cac8d6
commit c6cb4ba159
78 changed files with 195 additions and 195 deletions
+2 -2
View File
@@ -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())