[MIRROR] version up (#12973)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-08-17 22:08:55 +02:00
committed by GitHub
co-authored by Kashargul
parent 1efd3c2186
commit f08e7604c3
7 changed files with 10 additions and 5 deletions
+2 -2
View File
@@ -142,9 +142,9 @@
switch(action)
if("submit")
if(max_length)
if(length(params["entry"]) > max_length)
if(length_char(params["entry"]) > max_length)
CRASH("[ui.user] typed a text string longer than the max length")
if(encode && (length(html_encode(params["entry"])) > max_length))
if(encode && (length_char(html_encode(params["entry"])) > max_length))
to_chat(ui.user, span_notice("Your message was clipped due to special character usage."))
set_entry(params["entry"])
closed = TRUE