Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Event_ServerInfo] Stricter parsing on ban and kick reasons; they can…
… no longer be used for unintended side-effects. - "You are " must be the start of the message for /whoami response. - "You are still marked " must be the start of the message for still-away alert. - " your friends list." must be the end of the message for /f a, /f r, /f p, /f d responses. - " was banned by " must follow the first word (username) for ban alert. - " was unbanned by " must follow the first word (username) for unban alert. - " kicked you out of the channel!" must be the end of the message for kicked alert. - " has been unsquelched." must be the end of the message for /unsquelch response. - " is your designated heir." must be the end of the message for /designate response. - "Your friends are:" must be the entire message for /f l response. - The above strings are moved to constants in this function. Other server locales than "enUS" are still not supported.
- Loading branch information
Showing
1 changed file
with
166 additions
and
152 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters