diff options
| author | 2023-01-15 21:11:43 +0000 | |
|---|---|---|
| committer | 2023-01-15 21:14:42 +0000 | |
| commit | 9109587ed29d2d7e22a6e1cc376e1bc65e5b5231 (patch) | |
| tree | 637edc145a1080ec4674b743753981a902264a1a /src/modules/m_cloak.cpp | |
| parent | Constify config fields in cloak_sha256. (diff) | |
Fix cloaking users with a non-IP hostname when using hmac-sha256-ip.
Diffstat (limited to 'src/modules/m_cloak.cpp')
| -rw-r--r-- | src/modules/m_cloak.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_cloak.cpp b/src/modules/m_cloak.cpp index 670c02f82..69907498d 100644 --- a/src/modules/m_cloak.cpp +++ b/src/modules/m_cloak.cpp @@ -136,6 +136,10 @@ public: const std::string cloak = cloakmethod->Generate(user); if (!cloak.empty()) cloaks->push_back(cloak); + + ServerInstance->Logs.Debug(MODNAME, "Cloaked %s (%s/%s) as %s using the %s method.", + user->uuid.c_str(), user->GetIPString().c_str(), user->GetRealHost().c_str(), + cloak.c_str(), cloakmethod->GetName()); } ext.Set(user, cloaks); } |
