← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 612262] Re: wrong nick in user commands

 

Caused by us using CID to look up UserPtr, but CID is the same across
hubs (at least your own cid). As a result, it may take the nick from the
wrong hub.

** Changed in: linuxdcpp
   Importance: Undecided => Low

** Changed in: linuxdcpp
       Status: Incomplete => Confirmed

** Tags added: user-commands

-- 
wrong nick in user commands
https://bugs.launchpad.net/bugs/612262
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.

Status in Linux DC++: Confirmed

Bug description:
Hello,

When I try to use user commands, the client replace the received nick from the hub with a wrong one (used in other connections).
Eg.
Nick used in other hubs: Junior
Nick for current hub: fff
Command received from current hub: "$UserCommand 2 3 USER\HELP $<fff> !help&#124;|"
Command sent to hub: <Junior> !help

Nick seems to belong to the first open hub.
Also, if hub send "$UserCommand 2 3 USER\HELP$<fff> !help&#124;|" (there is no space before $), Linuxdc++ no more replace <fff> with <Junior>.

Regards





References