aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_sslinfo.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2016-02-25 16:27:30 +0100
committerGravatar Attila Molnar2016-02-25 16:27:30 +0100
commit0c42bcde16c3141ccd4bb8c5f7b22d65cc8e1909 (patch)
treef80ce6d1bd6346c9d9b4daa5350e6703e2738808 /src/modules/m_sslinfo.cpp
parentConvert WriteNumeric() calls to pass the parameters of the numeric as method ... (diff)
Convert WhoisContext::SendLine() calls to pass the parameters of the numeric as method parameters
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
-rw-r--r--src/modules/m_sslinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp
index ac02908c4..6a29d3bde 100644
--- a/src/modules/m_sslinfo.cpp
+++ b/src/modules/m_sslinfo.cpp
@@ -162,10 +162,10 @@ class ModuleSSLInfo : public Module, public Whois::EventListener
ssl_cert* cert = cmd.CertExt.get(whois.GetTarget());
if (cert)
{
- whois.SendLine(671, ":is using a secure connection");
+ whois.SendLine(671, "is using a secure connection");
bool operonlyfp = ServerInstance->Config->ConfValue("sslinfo")->getBool("operonly");
if ((!operonlyfp || whois.IsSelfWhois() || whois.GetSource()->IsOper()) && !cert->fingerprint.empty())
- whois.SendLine(276, ":has client certificate fingerprint %s", cert->fingerprint.c_str());
+ whois.SendLine(276, InspIRCd::Format("has client certificate fingerprint %s", cert->fingerprint.c_str()));
}
}