diff options
| author | 2015-04-28 15:02:41 +0200 | |
|---|---|---|
| committer | 2015-04-28 15:02:41 +0200 | |
| commit | 04eb0e182dec8518d1dfd15a09b8054d1501a4ef (patch) | |
| tree | a09b319fffd5dd01a8ba88cddc8c8e3629472b3a /src/modules/m_sslinfo.cpp | |
| parent | m_servprotect Remove pointless compare of src and dst from OnWhoisLine handler (diff) | |
Prepend target user nick to whois numerics in InspIRCd::SendWhoisLine()
Diffstat (limited to 'src/modules/m_sslinfo.cpp')
| -rw-r--r-- | src/modules/m_sslinfo.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp index f861f1236..03e9bed96 100644 --- a/src/modules/m_sslinfo.cpp +++ b/src/modules/m_sslinfo.cpp @@ -160,11 +160,10 @@ class ModuleSSLInfo : public Module ssl_cert* cert = cmd.CertExt.get(dest); if (cert) { - ServerInstance->SendWhoisLine(source, dest, 671, "%s :is using a secure connection", dest->nick.c_str()); + ServerInstance->SendWhoisLine(source, dest, 671, ":is using a secure connection"); bool operonlyfp = ServerInstance->Config->ConfValue("sslinfo")->getBool("operonly"); if ((!operonlyfp || source == dest || source->IsOper()) && !cert->fingerprint.empty()) - ServerInstance->SendWhoisLine(source, dest, 276, "%s :has client certificate fingerprint %s", - dest->nick.c_str(), cert->fingerprint.c_str()); + ServerInstance->SendWhoisLine(source, dest, 276, ":has client certificate fingerprint %s", cert->fingerprint.c_str()); } } |
