diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:40:23 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-27 10:48:55 +0000 |
commit | b5b3c744778ed0cbceb03f2f8dbbec33d2fd0e94 (patch) | |
tree | e6d8a7c143a11035be55ffffcdc97395eb5b4e25 /modules/encryption/enc_bcrypt.cpp | |
parent | 73d4ac6de04a1035ac36182d3f269cc938c6bc19 (diff) |
Make functions that don't use `this` static.
Diffstat (limited to 'modules/encryption/enc_bcrypt.cpp')
-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 3dea3f2c6..76809ed4e 100644 --- a/modules/encryption/enc_bcrypt.cpp +++ b/modules/encryption/enc_bcrypt.cpp @@ -30,7 +30,7 @@ class EBCRYPT final return salt; } - Anope::string Generate(const Anope::string &data, const Anope::string &salt) + static 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)); |