diff options
| author | 2023-01-18 14:42:16 +0000 | |
|---|---|---|
| committer | 2023-01-18 14:57:53 +0000 | |
| commit | f897d06525788d87bbe0b9a89fe148ef9c1a19b0 (patch) | |
| tree | 9f9caf5f12047a8723e20a76418084bc6f71ba75 /src/modules/m_cloak_md5.cpp | |
| parent | Check the hashing modules are enabled when creating a cloak method. (diff) | |
The cloak_md5 module needs the md5 module not the sha2 module.
Diffstat (limited to 'src/modules/m_cloak_md5.cpp')
| -rw-r--r-- | src/modules/m_cloak_md5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cloak_md5.cpp b/src/modules/m_cloak_md5.cpp index 2d2c292b7..36e1e34d0 100644 --- a/src/modules/m_cloak_md5.cpp +++ b/src/modules/m_cloak_md5.cpp @@ -217,7 +217,7 @@ struct CloakInfo final // IMPORTANT: link data is sent over unauthenticated server links so we // can't directly send the key here. Instead we use dummy cloaks that // allow verification of or less the same thing. - const std::string broken = "missing-sha2-module"; + const std::string broken = "missing-md5-module"; data["cloak-v4"] = Hash ? Generate("123.123.123.123") : broken; data["cloak-v6"] = Hash ? Generate("dead:beef:cafe::") : broken; data["cloak-host"] = Hash ? Generate("cloak.inspircd.org") : broken; |
