Bug 114305 - IRC Numeric code 671 noisies up channel window
Summary: IRC Numeric code 671 noisies up channel window
Status: REPORTED
Alias: None
Product: kopete
Classification: Applications
Component: IRC Plugin (show other bugs)
Version: 0.10.3
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-13 01:44 UTC by Neale Pickett
Modified: 2008-02-21 10:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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