Lock has a check already, so remove that.

This commit is contained in:
Andrei Jors
2018-10-09 07:37:59 -04:00
parent 8ea25b1811
commit 4a42ead034
+1 -1
View File
@@ -155,7 +155,7 @@ won't update every console in existence) but it's more of a hassle to do. Also,
add_fingerprint(usr)
usr.set_machine(src)
if((href_list["lock"] || screen < 1 || (screen == 1.6 && href_list["menu"] != "1.0")) && !allowed(usr)) //Stops people from HREF exploiting out of the lock screen, but allow it if they have the access.
if((screen < 1 || (screen == 1.6 && href_list["menu"] != "1.0")) && (!allowed(usr) && !emagged)) //Stops people from HREF exploiting out of the lock screen, but allow it if they have the access.
usr << "Unauthorized Access"
return