aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_vhost.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-08-05 12:02:14 +0100
committerGravatar Sadie Powell2023-08-11 12:03:09 +0100
commit681b488fc0ebca964eddf2a54575dc41901bc520 (patch)
tree8d5953e1ecc38e7abc8e4369e71a2f3db2a1744a /src/modules/m_vhost.cpp
parentMove stdalgo::string::{equalsci,tocstr} to utility/string. (diff)
Update usages of stdalgo::string::equalsci to use insp::equalsci.
Diffstat (limited to 'src/modules/m_vhost.cpp')
-rw-r--r--src/modules/m_vhost.cpp3
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());