diff options
Diffstat (limited to 'src/modules/m_vhost.cpp')
| -rw-r--r-- | src/modules/m_vhost.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp index 6ea1eb8fe..e409d1efa 100644 --- a/src/modules/m_vhost.cpp +++ b/src/modules/m_vhost.cpp @@ -25,6 +25,7 @@ #include "inspircd.h" +#include "utility/string.h" struct CustomVhost final { @@ -109,7 +110,7 @@ public: throw ModuleException(this, "<vhost:pass> is empty! at " + tag->source.str()); const std::string hash = tag->getString("hash", "plaintext", 1); - if (stdalgo::string::equalsci(hash, "plaintext")) + if (insp::equalsci(hash, "plaintext")) { ServerInstance->Logs.Warning(MODNAME, "<vhost> tag for {} at {} contains an plain text password, this is insecure!", username, tag->source.str()); |
