sanitize() refactor: second pass(other sanitize functions)

This commit is contained in:
volas
2015-03-23 01:38:09 +03:00
parent 855755f808
commit f8822626bb
51 changed files with 86 additions and 101 deletions

View File

@@ -435,7 +435,7 @@
src.updateUsrDialog()
return
else if(href_list["name_disease"])
var/new_name = stripped_input(usr, "Name the Disease", "New Name", "", MAX_NAME_LEN)
var/new_name = sanitizeSafe(input(usr, "Name the Disease", "New Name", ""), MAX_NAME_LEN)
if(stat & (NOPOWER|BROKEN)) return
if(usr.stat || usr.restrained()) return
if(!in_range(src, usr)) return