[s] Clean up some inputs

This commit is contained in:
CitadelStationBot
2017-08-14 02:44:24 -05:00
parent 6d72705ff5
commit 7fe8dd208d
5 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -145,7 +145,7 @@
var/reason = ""
if(requestonly)
reason = input("Reason:", name, "") as text|null
reason = stripped_input("Reason:", name, "") as text|null
if(isnull(reason) || ..())
return
@@ -110,7 +110,7 @@
if(!channel)
return
var/mob/living/user = usr
var/logname = input(user,"Enter desired logfile name (.log) or leave blank to cancel:")
var/logname = stripped_input(user,"Enter desired logfile name (.log) or leave blank to cancel:")
if(!logname || !channel)
return 1
var/datum/computer_file/data/logfile = new/datum/computer_file/data/logfile()