Template
1
0
mirror of https://github.com/bol-van/zapret2.git synced 2026-03-14 06:13:09 +00:00

zapret-auto: repeater - stop parameter

This commit is contained in:
bol-van
2025-12-18 11:17:50 +03:00
parent 8f53a44f7e
commit 5e5dd241d4
2 changed files with 15 additions and 11 deletions

View File

@@ -190,7 +190,7 @@ function plan_instance_execute(desync, verdict, instance)
return verdict
end
function plan_instance_pop(desync)
return (desync.plan and #desync.plan>0) and table.remove(desync.plan, 1)
return (desync.plan and #desync.plan>0) and table.remove(desync.plan, 1) or nil
end
function plan_clear(desync)
while table.remove(desync.plan) do end