aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sslinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
-rw-r--r--src/modules/m_sslinfo.cpp8
1 files changed, 4 insertions, 4 deletions
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;
}