diff --git a/plugins/autostandby.koplugin/main.lua b/plugins/autostandby.koplugin/main.lua index c0b62d8f2..15fe3e391 100644 --- a/plugins/autostandby.koplugin/main.lua +++ b/plugins/autostandby.koplugin/main.lua @@ -93,7 +93,7 @@ function AutoStandby:onInputEvent() -- all standbys forbidden, always prevent self:prevent() return - elseif delay == 0 then + elseif self.delay == 0 then -- If delay is 0 now, just allow straight self:allow() return