wrong nick in user commands

Bug #612262 reported by Florin Oprea on 2010-08-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LinuxDC++
Low
Unassigned

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

Steven Sheehy (steven-sheehy) wrote :

What version of LinuxDC++ are you using and what distribution? It may be fixed in our latest trunk since I know there were some changes to map the hub to the correct nick.

Changed in linuxdcpp:
status: New → Incomplete
Florin Oprea (z80ldir) wrote :

Version:
LinuxDC++ version: 1.0.3
Core version: 0.698
Ubuntu 10.04 LTS - the Lucid Lynx

Another similar bug:

If I use the following command from the menu on a regular user, all is ok, but if I use it on myself, the command is sent to another hub!!! (previous one).

$UserCommand 1 6 * Report user...$<fff> !report %[nick] %[line:reason]&#124;

I hope that the information is useful.
Regards.

Steven Sheehy (steven-sheehy) wrote :

Since you're on Ubuntu, can you try our PPA to see if our latest build fixes the problem for you?

https://launchpad.net/~linuxdcpp-team/+archive/ppa

Florin Oprea (z80ldir) wrote :

I upgraded but user commands continue to be sent to other hubs.

Steven Sheehy (steven-sheehy) wrote :

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
status: Incomplete → Confirmed
tags: added: user-commands
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers