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.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp
index 5141aa7a4..b2d148cb5 100644
--- a/src/modules/m_sslinfo.cpp
+++ b/src/modules/m_sslinfo.cpp
@@ -199,17 +199,17 @@ private:
ssl_cert* cert = sslapi.GetCertificate(target);
if (!cert)
{
- source->WriteNotice(INSP_FORMAT("*** {} is not connected using TLS.", target->nick));
+ source->WriteNotice("*** {} is not connected using TLS.", target->nick);
}
else if (cert->GetError().length())
{
- source->WriteNotice(INSP_FORMAT("*** {} is connected using TLS but has not specified a valid client certificate ({}).",
- target->nick, cert->GetError()));
+ source->WriteNotice("*** {} is connected using TLS but has not specified a valid client certificate ({}).",
+ target->nick, cert->GetError());
}
else if (!verbose)
{
- source->WriteNotice(INSP_FORMAT("*** {} is connected using TLS with a valid client certificate ({}).",
- target->nick, cert->GetFingerprint()));
+ source->WriteNotice("*** {} is connected using TLS with a valid client certificate ({}).",
+ target->nick, cert->GetFingerprint());
}
else
{
@@ -262,9 +262,9 @@ private:
if (sslonlymode)
{
- source->WriteNotice(INSP_FORMAT("*** {} {} have channel mode +{} ({}) set.",
+ source->WriteNotice("*** {} {} have channel mode +{} ({}) set.",
chan->name, chan->IsModeSet(sslonlymode) ? "does" : "does not",
- sslonlymode->GetModeChar(), sslonlymode->name));
+ sslonlymode->GetModeChar(), sslonlymode->name);
}
for (const auto& [u, _] : chan->GetUsers())