Closed Bug 165332 Opened 22 years ago Closed 20 years ago

chatzilla should give better error messages when /join fails

Categories

(Other Applications :: ChatZilla, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

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

Details

(Whiteboard: cz-patch)

Attachments

(2 files)

There are specific error codes for when a join fails for different reasons.
For example: 475 ERR_BADCHANNELKEY  "<channel> :Cannot join channel (+k)"
Instead of just displaying the message, chatzilla should give a clearer reason
for the error, like "You need a key", or "You entered the wrong key".
Assignee: rginda → silver
Status: NEW → ASSIGNED
I thought it would be nice to make replacing random error numerics easy, so
this code just tries to find a string, and if it fails it falls back to the old
code. Patch includes the four join errors that I could find.
Whiteboard: cz-patch
Attachment #141194 - Flags: review?(samuel)
Attachment #141194 - Flags: review?(samuel) → review+
Comment on attachment 141194 [details] [diff] [review]
Display better messages for join errors

Checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
there's a couple of mistakes in one of the messages that got added here

"This channel has reached it's set capacity; you connot join it."

"it's" should be "its" and "connot" should be "cannot"
Attachment #144222 - Flags: review?(samuel)
Attachment #144222 - Flags: review?(samuel) → review+
Product: Core → Other Applications
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: