applications/luci-splash: remove left-over code

This commit is contained in:
Jo-Philipp Wich 2009-06-09 12:19:28 +00:00
parent e385f91ff6
commit 06001d99b1

View file

@ -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, {