diff options
| author | 2026-04-30 22:29:38 +0100 | |
|---|---|---|
| committer | 2026-04-30 23:20:14 +0100 | |
| commit | 9bb55626d51f217466bc08104d2f32eb0bf57c02 (patch) | |
| tree | 44d8c00b97674cd4e35c5a1def208047bf02bcfa /modules/cloak_custom.cpp | |
| parent | Move 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.cpp | 2 |
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()); |
