aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sslinfo.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-23 23:48:09 +0000
committerGravatar Sadie Powell2023-01-24 00:12:57 +0000
commit206d31de85192353d03c74766e80513a87dc49b4 (patch)
tree24fdee802c85c29b66a04901147d019e92e30931 /src/modules/m_sslinfo.cpp
parentConvert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings. (diff)
Convert log calls to use fmtlib format strings
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;
}