diff options
| author | 2021-04-12 14:14:40 +0100 | |
|---|---|---|
| committer | 2021-04-12 14:14:40 +0100 | |
| commit | eee4ef7d3365f3cdd4a38fcd43b9a8dcf1bdd7ae (patch) | |
| tree | 2fcf9b657ff72c42efac17ad32bf438f46c7ad8b /src/modules/m_gateway.cpp | |
| parent | Fix an inverted condition in the previous commit. (diff) | |
Fix a compiler error in the gateway module.
Diffstat (limited to 'src/modules/m_gateway.cpp')
| -rw-r--r-- | src/modules/m_gateway.cpp | 4 |
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); |
