diff --git a/Server/src/main/core/game/system/communication/GlobalChat.kt b/Server/src/main/core/game/system/communication/GlobalChat.kt index 1c8a0edde..7dae7d5d6 100644 --- a/Server/src/main/core/game/system/communication/GlobalChat.kt +++ b/Server/src/main/core/game/system/communication/GlobalChat.kt @@ -38,7 +38,7 @@ class GlobalChat : Commands { "%u" to "", "%" to "" ) - private val COMMON_SHORTCUT_PATTERN = Regex("%ironman|%chat|%hcim|%uim|%/trans|%trans(?![=])|%/shad|%shad(?![=])|%/str|%str(?![=])|%/u|%u(?![=])|%") + private val COMMON_SHORTCUT_PATTERN = Regex("%ironman|%chat|%hcim|%uim|%/trans|%trans(?!=)|%/shad|%shad(?!=)|%/str|%str(?!=)|%/u|%u(?!=)|%") private const val MAX_ENCODED_MESSAGE_LENGTH = 255 fun process(sender: String, message: String, chatIcon: Int) {