Bug 114305

Summary: IRC Numeric code 671 noisies up channel window
Product: [Applications] kopete Reporter: Neale Pickett <neale-kde>
Component: IRC PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: hohmuth
Priority: NOR    
Version: 0.10.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Neale Pickett 2005-10-13 01:44:50 UTC
Version:           0.10.3 (using KDE Devel)
Installed from:    Compiled sources

671 is used by some IRC servers in response to a /whois (or whatever it is kopete sends every few minutes) to indicate that the user is connected with SSL.

It would be neato to display this somehow, but my main interest is not having this clutter up my chat room window.

Here's a patch:

--- /home/neale/tmp/kopete-0.10.3/kopete/protocols/irc/libkirc/kircengine_numericreplies.cpp.~1~	2005-07-29 17:52:39.000000000 -0600
+++ /home/neale/tmp/kopete-0.10.3/kopete/protocols/irc/libkirc/kircengine_numericreplies.cpp	2005-10-12 17:11:30.000000000 -0600
@@ -92,6 +92,9 @@
 
 	//Freenode seems to use this for a non-RFC compliant purpose, as does Unreal
 	bind(477, this, SLOT(dumpSuffix(KIRC::Message&)),0,0);
+
+        // User is using a secure connection (SSL)
+	bind(671, this, SLOT(ignoreMessage(KIRC::Message&)), 0, 0 );
 }
 
 /*
Comment 1 Alexander Dupuy 2008-01-25 19:56:53 UTC
Numeric codes 275 and 338 seem to need the same treatment, see http://bugs.kde.org/show_bug.cgi?id=130876

Also code 330, see http://bugs.kde.org/show_bug.cgi?id=112282

@alex