Apply 1 suggestion(s) to 1 file(s)

Co-authored-by: GregF <gregf36665@gmail.com>
This commit is contained in:
Tooze 2026-07-29 17:54:35 +00:00
parent 46a61d4881
commit 37cc65ab36

View file

@ -38,7 +38,7 @@ class GlobalChat : Commands {
"%u" to "<u>",
"%<gt><gt>" to "<img=2>"
)
private val COMMON_SHORTCUT_PATTERN = Regex("%ironman|%chat|%hcim|%uim|%/trans|%trans(?![=])|%/shad|%shad(?![=])|%/str|%str(?![=])|%/u|%u(?![=])|%<gt><gt>")
private val COMMON_SHORTCUT_PATTERN = Regex("%ironman|%chat|%hcim|%uim|%/trans|%trans(?!=)|%/shad|%shad(?!=)|%/str|%str(?!=)|%/u|%u(?!=)|%<gt><gt>")
private const val MAX_ENCODED_MESSAGE_LENGTH = 255
fun process(sender: String, message: String, chatIcon: Int) {