From 206d31de85192353d03c74766e80513a87dc49b4 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 23 Jan 2023 23:48:09 +0000 Subject: Convert log calls to use fmtlib format strings --- src/modules/m_vhost.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_vhost.cpp') 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, " 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, " tag for {} at {} contains an plain text password, this is insecure!", + username, tag->source.str()); } CustomVhost vhost(username, pass, hash, mask); -- cgit v1.3.1-10-gc9f91