aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_gateway.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_gateway.cpp')
-rw-r--r--src/modules/m_gateway.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_gateway.cpp b/src/modules/m_gateway.cpp
index 9484e1bb9..e8e45ab24 100644
--- a/src/modules/m_gateway.cpp
+++ b/src/modules/m_gateway.cpp
@@ -376,8 +376,8 @@ class ModuleGateway
if (!password.empty() && stdalgo::string::equalsci(passwordhash, "plaintext"))
{
- ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, "<" + tag->name + "> tag at %s contains an plain text password, this is insecure!",
- tag->source.str().c_str());
+ ServerInstance->Logs.Log(MODNAME, LOG_DEFAULT, "<%s> tag at %s contains an plain text password, this is insecure!",
+ tag->name.c_str(), tag->source.str().c_str());
}
webirchosts.emplace_back(masks, fingerprint, password, passwordhash);