From 410e7b9e2f3c29c0347d54bde9e37384c1784386 Mon Sep 17 00:00:00 2001 From: special Date: Mon, 23 Feb 2009 13:18:59 +0000 Subject: Forward port r11142: Commands that only give a response locally should not be propagated globally, especially if not flagged as VF_COMMON (specifically, m_sslinfo). Found by satmd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11143 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sslinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_sslinfo.cpp b/src/modules/extra/m_sslinfo.cpp index 1d08fbd39..86af1d614 100644 --- a/src/modules/extra/m_sslinfo.cpp +++ b/src/modules/extra/m_sslinfo.cpp @@ -44,7 +44,7 @@ class CommandSSLInfo : public Command user->WriteServ("NOTICE %s :*** Distinguised Name: %s", user->nick.c_str(), cert->GetDN().c_str()); user->WriteServ("NOTICE %s :*** Issuer: %s", user->nick.c_str(), cert->GetIssuer().c_str()); user->WriteServ("NOTICE %s :*** Key Fingerprint: %s", user->nick.c_str(), cert->GetFingerprint().c_str()); - return CMD_SUCCESS; + return CMD_LOCALONLY; } else { -- cgit v1.2.3