From eee4ef7d3365f3cdd4a38fcd43b9a8dcf1bdd7ae Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 12 Apr 2021 14:14:40 +0100 Subject: Fix a compiler error in the gateway module. --- src/modules/m_gateway.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_gateway.cpp') 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); -- cgit v1.3.1-10-gc9f91