aboutsummaryrefslogtreecommitdiff
path: root/modules/cloak_custom.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2026-04-30 22:29:38 +0100
committerGravatar Sadie Powell2026-04-30 23:20:14 +0100
commit9bb55626d51f217466bc08104d2f32eb0bf57c02 (patch)
tree44d8c00b97674cd4e35c5a1def208047bf02bcfa /modules/cloak_custom.cpp
parentMove CommandLine from ServerConfig to InspIRCd. (diff)
Switch ascii comparisons over to our own casemap functions.
Diffstat (limited to 'modules/cloak_custom.cpp')
-rw-r--r--modules/cloak_custom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cloak_custom.cpp b/modules/cloak_custom.cpp
index 0b4366482..c61590b84 100644
--- a/modules/cloak_custom.cpp
+++ b/modules/cloak_custom.cpp
@@ -90,7 +90,7 @@ public:
, passwordhash(tag->getString("hash", "plaintext", 1))
, cloak(c)
{
- if (insp::equalsci(passwordhash, "plaintext"))
+ if (insp::ascii_equals(passwordhash, "plaintext"))
{
ServerInstance->Logs.Warning(MODNAME, "<customcloak> tag at {} contains an plain text password, this is insecure!",
tag->source.str());