Skip to content

Fix incorrect chat message length check for formatting - #5041

Merged
pop4959 merged 1 commit into
EssentialsX:2.xfrom
BoomEaro:fix/chatlengthformat
Aug 8, 2022
Merged

Fix incorrect chat message length check for formatting#5041
pop4959 merged 1 commit into
EssentialsX:2.xfrom
BoomEaro:fix/chatlengthformat

Conversation

@BoomEaro

Copy link
Copy Markdown
Contributor

This little pull request fixes a small bug where any 1 character long message was never formatted.

For some reason, the formatting is allowed if the message length is greater than one, which is very strange, so I just changed 1 to 0.
It's not clear to me if this is a typo or intended behavior, so I opened this pull request.

JRoy
JRoy approved these changes Aug 8, 2022
@pop4959pop4959 added type: bugfix PRs that fix bugs in EssentialsX. module: chat Issues or PRs for the EssentialsChat module labels Aug 8, 2022
@pop4959
pop4959 merged commit ee7c1b1 into EssentialsX:2.xAug 8, 2022
@pop4959pop4959 added this to the 2.19.5 milestone Aug 8, 2022
@BoomEaro
BoomEaro deleted the fix/chatlengthformat branch August 8, 2022 22:13
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
rewsdjad1 pushed a commit to rewsdjad1/EssentialsXPlus that referenced this pull request Aug 13, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: chatIssues or PRs for the EssentialsChat moduletype: bugfixPRs that fix bugs in EssentialsX.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@BoomEaro@JRoy@pop4959