aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-04-12 14:14:40 +0100
committerGravatar Sadie Powell2021-04-12 14:14:40 +0100
commiteee4ef7d3365f3cdd4a38fcd43b9a8dcf1bdd7ae (patch)
tree2fcf9b657ff72c42efac17ad32bf438f46c7ad8b /src
parentFix an inverted condition in the previous commit. (diff)
Fix a compiler error in the gateway module.
Diffstat (limited to 'src')
-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);