[Konversation-devel] [Bug 97354] channel list in whois reply isn't always parsed correctly

ismail cartman donmez ismail at kde.org.tr
Sun Mar 27 11:11:54 CEST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=97354         
ismail kde org tr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ismail kde org tr  2005-03-27 11:11 -------
CVS commit by cartman: 

Fix whois parsing for safe channels. Second part of #97354
BUG:97354


  M +2 -2      inputfilter.cpp   1.193


--- kdeextragear-2/konversation/konversation/inputfilter.cpp  #1.192:1.193
 @ -885,10 +885,10  @ void InputFilter::parseServerCommand(con
               server->setChannelNick(lookChannel.mid(1), parameterList[1], 16);
             }
-            else if(lookChannel.startsWith("!"))
+            else if(lookChannel.startsWith("!") && server->isAChannel(lookChannel.mid(1))) // See bug #97354 part 2
             {
               ownerChannels.append(lookChannel.mid(1));
               server->setChannelNick(lookChannel.mid(1), parameterList[1], 8);
             }
-            else if(lookChannel.startsWith(" +"))
+            else if(lookChannel.startsWith(" +")) // See bug #97354 part 1
             {
               opChannels.append(lookChannel.mid(2));


More information about the Konversation-devel mailing list