Bug 138695

Summary: Server kicks/Server messages are not parsed correctly
Product: [Applications] konversation Reporter: Niklas Boelter <niklas>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED WAITINGFORINFO    
Severity: normal CC: hein
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Niklas Boelter 2006-12-12 00:25:37 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Ubuntu Packages
OS:                Linux

If a Server kicks a user, konversation will not recognize it and show only
"[kick] #channel nick reason" in the Server Windows, the user remains in the Channel [only visually, to be clear]
Expected behaviour: *server.network.tld has kicked user ....(etc) 
(in channel window)

Same for privmsg:
"[privmsg] #channel message"
(in server window)
Expected behaviour: <server.network.tld> message 
(in channel window)

Same for channel notice:
"[Notice] #xchannel message"
(in server window)
Expected behaviour: -server.network.tld- message (unsure in this point, ex-xchat user ;]) 
(in channel window)
Comment 1 Eike Hein 2006-12-12 08:43:27 UTC
Presumably the server in question does something wonky that we haven't encountered yet and thus can't cope with. Hence:

a) Please state the server and port this happens on. If you're using some kind of IRC proxy, please state the name and version.
b) Please open the Raw Log window with /raw or by activating 'Settings -> Configure Konversation -> Connection -> Show raw log window when connecting' and provide us with sample RAW from the server.
Comment 2 Eike Hein 2006-12-12 08:44:48 UTC
Oh, and: Please state the version of Konversation you're using. You can find the version number in 'Help -> About Konversation'.
Comment 3 Niklas Boelter 2006-12-12 16:05:59 UTC
To #1:
a)
irc.xchannel.org 6667 (Running w0nko 4.2 development, which is an modified ircu 2.10.11.07)
no proxys
b)
Kick:
[15:59:48] >> :bloodsport.xchannel.org KICK #w3 TestUser :Kick Message 
Privmsg:
[15:55:20] >> :fruburst.xchannel.org PRIVMSG #w3 :This is just a test message. 
Notice:
[16:00:39] >> :fruburst.xchannel.org NOTICE #w3 :This is just a test channel notice.

To #2:
Konversation v 1.0.1 (the german version, if that matters in any way)
Comment 4 Christian Holler 2006-12-22 01:02:10 UTC
We successfully reproduced this bug on UnrealIRCd, Konversation (1.0.1) is not parsing KICK messages from servers correctly.

The bug is in inputfilter.cpp, parseServerCommand does not handle KICKs at all.
Comment 5 Peter Simonsson 2007-04-22 11:24:25 UTC
Would be cool if you could test with the current svn trunk version... you need at least rev 656742.