diff options
Diffstat (limited to 'src/modules/m_cloak.cpp')
| -rw-r--r-- | src/modules/m_cloak.cpp | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/modules/m_cloak.cpp b/src/modules/m_cloak.cpp index b6180419e..1e55fad5f 100644 --- a/src/modules/m_cloak.cpp +++ b/src/modules/m_cloak.cpp @@ -115,11 +115,18 @@ public: { const std::string cloak = cloakmethod->Generate(user); if (!cloak.empty()) + { cloaks->push_back(cloak); - ServerInstance->Logs.Debug(MODNAME, "Cloaked {} ({}/{}) as {} using the {} method.", - user->uuid, user->GetAddress(), user->GetRealHost(), - cloak, cloakmethod->GetName()); + ServerInstance->Logs.Debug(MODNAME, "Cloaked {} ({}) [{}] as {} using the {} method.", + user->uuid, user->GetAddress(), user->GetRealHost(), cloak, + cloakmethod->GetName()); + } + else + { + ServerInstance->Logs.Debug(MODNAME, "Unable to cloak {} ({}) [{}] using the {} method.", + user->uuid, user->GetAddress(), user->GetRealHost(), cloakmethod->GetName()); + } } ext.Set(user, cloaks); } |
