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_sslinfo.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_sslinfo.cpp') diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index 7b60dedfe..f08c99e0c 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -164,8 +164,8 @@ public: void SetCertificate(User* user, ssl_cert* cert) override { - ServerInstance->Logs.Debug(MODNAME, "Setting TLS client certificate for %s: %s", - user->GetFullHost().c_str(), sslext.ToNetwork(user, cert).c_str()); + ServerInstance->Logs.Debug(MODNAME, "Setting TLS client certificate for {}: {}", + user->GetFullHost(), sslext.ToNetwork(user, cert)); sslext.Set(user, cert); } }; @@ -402,8 +402,8 @@ public: if (error) { - ServerInstance->Logs.Debug("CONNECTCLASS", "The %s connect class is not suitable as it requires %s.", - klass->GetName().c_str(), error); + ServerInstance->Logs.Debug("CONNECTCLASS", "The {} connect class is not suitable as it requires {}.", + klass->GetName(), error); return MOD_RES_DENY; } -- cgit v1.3.1-10-gc9f91