Closed Bug 446428 Opened 17 years ago Closed 17 years ago

Nickname adjustments made to connect (e.g add _) are kept when reconnecting

Categories

(Other Applications Graveyard :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bugzilla-mozilla-20000923, Assigned: bugzilla-mozilla-20000923)

Details

(Whiteboard: [cz-0.9.84])

Attachments

(1 file)

Basically, the problem is that the nickname used when connecting is not reset, so it keeps all the underscores or alternate nickname that was needed when connecting, even if the preferred nickname was subsequently reclaimed. For example: 1. Connect as "Silver". 2. "Silver" is taken, so automatically tries "Silver_" which is free. 3. Original "Silver" pings out and reclaim code changes to it from "Silver_". 4. Disconnect and reconnect. 5. Initial nickname used is "Silver_", but should have been "Silver".
When connecting, INITIAL_NICK is used by the IRC library; we update INITIAL_NICK when trying alternate nickname, but not when attempting to reclaim (which occurs a minimum of once at the end of the connect sequence if current != preferred nickname).
Assignee: rginda → silver
Status: NEW → ASSIGNED
Attachment #330597 - Flags: review?(gijskruitbosch+bugs)
Comment on attachment 330597 [details] [diff] [review] Keep INITIAL_NICK in line with preferred nickname r=me
Attachment #330597 - Flags: review?(gijskruitbosch+bugs) → review+
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.84]
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: