this is better

This commit is contained in:
VM_USER
2022-09-25 20:00:36 -07:00
parent c6d908f578
commit 2b2aa28207
2 changed files with 1 additions and 31 deletions

View File

@@ -54,7 +54,7 @@
to_chat(usr, "<span class='danger'>^^^----- The preceeding message has been DISCARDED for being over the maximum length of [MAX_MESSAGE_LEN]. It has NOT been sent! -----^^^</span>")
return
message = trim(copytext_char(sanitize_rp(message), 1, MAX_MESSAGE_LEN))
message = trim(html_encode(message), MAX_MESSAGE_LEN)
clear_typing_indicator() // clear it immediately!
client?.last_activity = world.time