[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
@@ -309,7 +309,7 @@
message = noserver
else
if(auth)
var/dkey = trim(input(usr, "Please enter the decryption key.") as text|null)
var/dkey = trim(stripped_input(usr, "Please enter the decryption key."))
if(dkey && dkey != "")
if(src.linkedServer.decryptkey == dkey)
var/newkey = trim(input(usr,"Please enter the new key (3 - 16 characters max):"))