Closed
Bug 428811
Opened 16 years ago
Closed 16 years ago
ChatZilla appends underscores infinitely, when nickname is unavailable on server
Categories
(Other Applications :: ChatZilla, defect)
Other Applications
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Mitch, Assigned: Mitch)
Details
(Whiteboard: [cz-0.9.82])
Attachments
(1 file, 1 obsolete file)
2.13 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9pre) Gecko/2008041206 Minefield/3.0pre Build Identifier: ChatZilla 0.9.81 If a nickname is already in use on a server, ChatZilla appends an underscore to the previously-tried nickname, in an attempt to choose a unique, unused nickname. There is no automatic stop condition for this process. Reproducible: Always
Assignee | ||
Comment 1•16 years ago
|
||
This patch limits retrying to the number of nicknames on the nickname list plus 3.
Comment 2•16 years ago
|
||
Comment on attachment 315389 [details] [diff] [review] Patch v1.0 You broke the nick list version by moving the changeNick bits into the else if. Now, if |tryList| is true, it'll never actually change nickname, as far as I can tell. r- on that.
Attachment #315389 -
Flags: review?(silver) → review-
Assignee | ||
Comment 3•16 years ago
|
||
This patch addresses the previous comments.
Attachment #315389 -
Attachment is obsolete: true
Attachment #315759 -
Flags: review?(gijskruitbosch+bugs)
Comment 4•16 years ago
|
||
Is it just me, or does using the nickname list, even with this patch, go on indefinitely? Is that intended behaviour? Silver, got an opinion on this one?
Comment 5•16 years ago
|
||
The code says otherwise; it'll try each nickname in the list once and only once, starting at the current nick (if in the list), or the first (otherwise).
Comment 6•16 years ago
|
||
Comment on attachment 315759 [details] [diff] [review] Patch v1.1 Alright, then this seems OK. r=me, assuming this tested well.
Attachment #315759 -
Flags: review?(gijskruitbosch+bugs) → review+
Comment 7•16 years ago
|
||
Checked in --> FIXED.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: [cz-0.9.82]
Version: unspecified → Trunk
You need to log in
before you can comment on or make changes to this bug.
Description
•