From 681b488fc0ebca964eddf2a54575dc41901bc520 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 5 Aug 2023 12:02:14 +0100 Subject: Update usages of stdalgo::string::equalsci to use insp::equalsci. --- src/modules/m_vhost.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_vhost.cpp') 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, " 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, " tag for {} at {} contains an plain text password, this is insecure!", username, tag->source.str()); -- cgit v1.3.1-10-gc9f91