diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-02-23 13:18:59 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-02-23 13:18:59 +0000 |
commit | 410e7b9e2f3c29c0347d54bde9e37384c1784386 (patch) | |
tree | cb98db8d5b800614b50a4983d601c5f695271d45 /src/modules/extra | |
parent | 4efdfce66a255dd5ce2e2a940842ebfe9b02c651 (diff) |
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
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_sslinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |