[Konversation-devel] [Bug 130588] Ambiguous meaning of 320 numerical causing erroneous WHOIS display

Eike Hein hein at kde.org
Sat Jul 10 13:05:05 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=130588





--- Comment #3 from Eike Hein <hein kde org>  2010-07-10 13:05:02 ---
commit 7725f9034b0d2f0276ceff8e4ceac24ccdcf66a0
Author: Eike Hein <hein at kde.org>
Date:   Sat Jul 10 13:02:28 2010 +0200

    Add support for UnrealIRCd's 671 numeric.
    CCBUG:130588

diff --git a/ChangeLog b/ChangeLog
index 78d6085..d0baf51 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Changes since 1.3.1:
+* Added support for UnrealIRCd's 671 numeric.
+
+
 Changes from 1.3 to 1.3.1:
 Konversation 1.3.1 is a maintenance release that improves program behavior
 and fixes defects, the most serious of which is a regression that unfortu-
diff --git a/src/irc/inputfilter.cpp b/src/irc/inputfilter.cpp
index ec3ae8a..00e3261 100644
--- a/src/irc/inputfilter.cpp
+++ b/src/irc/inputfilter.cpp
@@ -1464,6 +1464,15 @@ void InputFilter::parseServerCommand(const QString
&prefix, const QString &comma
                 }
                 break;
             }
+            case RPL_WHOISSECURE:
+            {
+                if (plHas(2))
+                {
+                    if (getAutomaticRequest("WHOIS", parameterList.value(1))
== 0)
+                        server->appendMessageToFrontmost(i18n("Whois"),
i18n("%1 is using a secure connection.", parameterList.value(1)));
+                }
+                break;
+            }
             // Sample WHO response
             //"/WHO #lounge"
             //[21:39] [352] #lounge jasmine bots.worldforge.org
irc.worldforge.org jasmine H 0 jasmine
diff --git a/src/irc/replycodes.h b/src/irc/replycodes.h
index 9b8fd6c..bd4b63e 100644
--- a/src/irc/replycodes.h
+++ b/src/irc/replycodes.h
@@ -157,5 +157,7 @@
 #define ERR_UMODEUNKNOWNFLAG   501
 #define ERR_USERSDONTMATCH     502

+#define RPL_WHOISSECURE        671 // used by UnrealIRCd to denote SSL in
WHOIS response
+
 #endif // REPLYCODES_H

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list