From e23ee3fde17a6bb17a9e56c7105f4bbceb36391f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 18 Jan 2022 03:30:22 +0000 Subject: Rewrite logging calls to use the new APIs. --- src/modules/m_sslinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_sslinfo.cpp') diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index 138e8102e..3bacc1402 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -152,7 +152,7 @@ public: void SetCertificate(User* user, ssl_cert* cert) override { - ServerInstance->Logs.Log(MODNAME, LOG_DEBUG, "Setting TLS client certificate for %s: %s", + ServerInstance->Logs.Debug(MODNAME, "Setting TLS client certificate for %s: %s", user->GetFullHost().c_str(), sslext.ToNetwork(user, cert).c_str()); sslext.Set(user, cert); } @@ -416,7 +416,7 @@ public: if (error) { - ServerInstance->Logs.Log("CONNECTCLASS", LOG_DEBUG, "The %s connect class is not suitable as it requires %s", + ServerInstance->Logs.Debug("CONNECTCLASS", "The %s connect class is not suitable as it requires %s", myclass->GetName().c_str(), error); return MOD_RES_DENY; } -- cgit v1.3.1-10-gc9f91