applications/luci-splash: remove left-over code
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 9 Jun 2009 12:19:28 +0000 (12:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 9 Jun 2009 12:19:28 +0000 (12:19 +0000)
applications/luci-splash/root/usr/sbin/luci-splash

index e2bcc55..c737f2f 100755 (executable)
@@ -205,7 +205,7 @@ function sync()
                if v[".type"] == "lease" then
                        if os.difftime(time, tonumber(v.start)) > leasetime then
                                -- Remove expired
                if v[".type"] == "lease" then
                        if os.difftime(time, tonumber(v.start)) > leasetime then
                                -- Remove expired
-                               remove_rule(v.mac, v.kicked)
+                               remove_rule(v.mac)
                        else
                                -- Rewrite state
                                uci:section("luci_splash", "lease", nil, {              
                        else
                                -- Rewrite state
                                uci:section("luci_splash", "lease", nil, {