Bug 111661

Summary: CTCP VERSION reply on svn is broken
Product: [Applications] konversation Reporter: Harald Sitter <sitter>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Harald Sitter 2005-08-28 18:56:44 UTC
Version:           0.19 #3031 (using KDE KDE 3.4.2)
Installed from:    SuSE RPMs
Compiler:          gcc version 3.3.5 20050117 (prerelease) (SUSE Linux)
OS:                Linux (i686) release 2.6.11.4-21.8-default

If someone does a ctcp version sending on me, konvi opens a query with something like this:
  [2005-08-28 18:40:55] <socke> VERSION 

I tested this with some people which are also on svn, same thing with them.

Actually I dunno where the problem is, so, happy searching ;-)
Comment 1 Harald Sitter 2005-08-28 20:40:41 UTC
SVN commit 454369 by psn:

Ok another try to fix CTCP hopefully I don't break something else this 
time...


 M  +1 -1      inputfilter.cpp  


--- trunk/extragear/network/konversation/src/inputfilter.cpp #454368:454369
@@ -128,7 +128,7 @@
     {
         bool isChan = isAChannel(parameterList[0]);
         // CTCP message?
-        if(server->identifyMsg() && (trailing.at(1) != QChar(0x01) || \
trailing.lower().contains(0x01 + "action"))) { +        if(server->identifyMsg() && \
(trailing.at(0) == '+' || trailing.at(0) == '-')) {  trailing = trailing.mid(1);
         }