[ADC]Kicking message

Asked by Pietry

Currently in 0.704 when kicking some user on ADC, DC++ displays the kick message like this :
[17:57:31] [command:] !kick Toast test bl;a
[17:57:31] test bl;a
[17:57:31] <-dshub-> Kicked user Toast with CID AN7ZMSLIEBL53OPTM7WQGSTXUS3XOY6KQS5LBGQ out in flames.
[17:57:31] <-dshub-> Done.
2nd line is the reason , being displayed by client.

This will stay for the future?
Or DC++ will display :
<nick> is kicking <nick2> because: <reason>
all taken from the QUI that initiated the disconnect.

Question information

Language:
English Edit question
Status:
Solved
For:
DC++ Edit question
Assignee:
No assignee Edit question
Solved by:
Pietry
Solved:
Last query:
Last reply:
Revision history for this message
Fredrik Ullner (ullner) said :
#1

It's a StatusMessage that is being sent through AdcHub.cpp to HubFrame.cpp, so it's displaying "test bl;a"...

I'm not sure what should be done;
(1) Change the code in AdcHub.cpp to also send "is kicking" etc, or;
(2) Change the code in HubFrame.cpp to accept another parameter, called "kicked" (or something), or;
(3) Add an additional listener in AdcHub.cpp and HubFrame, called "StatusKicked" which only takes care of kicking.

(1) is the simplest, but (3) is probably a good thing long term.

It's a bug, so I'm moving it as such.

Revision history for this message
Pietry (pietry) said :
#2

The linked bug was fix commited.