Farmbot can be turned off, not just on

This commit is contained in:
Cerebulon
2021-08-10 23:50:57 +01:00
parent beaa3051ff
commit 30b192cc2b

View File

@@ -88,7 +88,7 @@
switch(action)
if("power")
if(!access_scanner.allowed(src))
if(!access_scanner.allowed(usr))
return FALSE
if(on)
turn_off()