applications/luci-splash: remove left-over code
This commit is contained in:
parent
e385f91ff6
commit
06001d99b1
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ function sync()
|
||||||
if v[".type"] == "lease" then
|
if v[".type"] == "lease" then
|
||||||
if os.difftime(time, tonumber(v.start)) > leasetime then
|
if os.difftime(time, tonumber(v.start)) > leasetime then
|
||||||
-- Remove expired
|
-- Remove expired
|
||||||
remove_rule(v.mac, v.kicked)
|
remove_rule(v.mac)
|
||||||
else
|
else
|
||||||
-- Rewrite state
|
-- Rewrite state
|
||||||
uci:section("luci_splash", "lease", nil, {
|
uci:section("luci_splash", "lease", nil, {
|
||||||
|
|
Loading…
Reference in a new issue