Fixes or adds many missing sanity checks

This commit is contained in:
9600bauds
2015-03-19 17:11:13 -03:00
parent 767d6f7dcb
commit 9901f9fd78
15 changed files with 31 additions and 25 deletions

View File

@@ -38,6 +38,7 @@
return
else
var/str = copytext(reject_bad_text(input(user,"Enter the properly capitolized name for demotion","Set name","")),1,MAX_NAME_LEN)
if (!in_range(src, user) || user.stat) return
if(!str)
alert("Invalid name.")
target_name = null