mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Sanitize all inputs
This commit is contained in:
@@ -18,7 +18,7 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey","
|
||||
var/list/type = list("Mentorhelp","Adminhelp")
|
||||
var/selected_type = input("Pick a category.", "Admin Help", null, null) as null|anything in type
|
||||
if(selected_type)
|
||||
msg = input("Please enter your message.", "Admin Help", null, null) as text|null
|
||||
msg = clean_input("Please enter your message.", "Admin Help", null)
|
||||
|
||||
//clean the input msg
|
||||
if(!msg)
|
||||
|
||||
Reference in New Issue
Block a user