mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
Use length_char in TGUI-say (#25036)
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
qdel(usr.client)
|
||||
message_admins("[hacker_man_ckey] was kicked for attemping to send a null message to TGUI-say.")
|
||||
CRASH("[hacker_man_ckey] entered in a null payload to the chat window.")
|
||||
if(length(payload["entry"]) > MAX_MESSAGE_LEN)
|
||||
if(length_char(payload["entry"]) > MAX_MESSAGE_LEN)
|
||||
var/hacker_man_ckey = usr.client.ckey
|
||||
qdel(usr.client)
|
||||
message_admins("[hacker_man_ckey] was kicked for attemping to bypass TGUI-say character limits.")
|
||||
|
||||
Reference in New Issue
Block a user