diff options
Diffstat (limited to 'src/helperfuncs.cpp')
| -rw-r--r-- | src/helperfuncs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 4da2a4d3d..81c8dacc4 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -32,6 +32,7 @@ #include "inspircd.h" #include "timeutils.h" +#include "utility/string.h" #include "xline.h" bool InspIRCd::CheckPassword(const std::string& password, const std::string& passwordhash, const std::string& value) @@ -47,7 +48,7 @@ bool InspIRCd::CheckPassword(const std::string& password, const std::string& pas // The hash algorithm wasn't recognised by any modules. If its plain // text then we can check it internally. - if (passwordhash.empty() || stdalgo::string::equalsci(passwordhash, "plaintext")) + if (passwordhash.empty() || insp::equalsci(passwordhash, "plaintext")) return TimingSafeCompare(password, value); // The password was invalid. |
