diff options
| author | 2023-01-23 23:48:09 +0000 | |
|---|---|---|
| committer | 2023-01-24 00:12:57 +0000 | |
| commit | 206d31de85192353d03c74766e80513a87dc49b4 (patch) | |
| tree | 24fdee802c85c29b66a04901147d019e92e30931 /src/modules/m_vhost.cpp | |
| parent | Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings. (diff) | |
Convert log calls to use fmtlib format strings
Diffstat (limited to 'src/modules/m_vhost.cpp')
| -rw-r--r-- | src/modules/m_vhost.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp index e56704a6e..234b1f934 100644 --- a/src/modules/m_vhost.cpp +++ b/src/modules/m_vhost.cpp @@ -111,8 +111,8 @@ public: const std::string hash = tag->getString("hash", "plaintext", 1); if (stdalgo::string::equalsci(hash, "plaintext")) { - ServerInstance->Logs.Warning(MODNAME, "<vhost> tag for %s at %s contains an plain text password, this is insecure!", - username.c_str(), tag->source.str().c_str()); + ServerInstance->Logs.Warning(MODNAME, "<vhost> tag for {} at {} contains an plain text password, this is insecure!", + username, tag->source.str()); } CustomVhost vhost(username, pass, hash, mask); |
