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".
Created attachment 141194 [details] [diff] [review] Display better messages for join errors 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.
Comment on attachment 141194 [details] [diff] [review] Display better messages for join errors Checked in.
Status: ASSIGNED → RESOLVED
Last Resolved: 15 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"
You need to log in before you can comment on or make changes to this bug.