Fix input sanitization issues

This commit is contained in:
Tayyyyyyy
2019-08-11 22:40:16 -07:00
parent e5eff24be8
commit 90bbc01cf4
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -106,7 +106,7 @@
//clean the message if it's not sent by a high-rank admin
if(!check_rights(R_SERVER|R_DEBUG,0))
msg = sanitize(copytext(msg,1,MAX_MESSAGE_LEN))
msg = sanitize_simple(copytext(msg,1,MAX_MESSAGE_LEN))
if(!msg)
return
else