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 e2bcc557d2fb0a94781f6075b02fc67a61a4bd56..c737f2f5fbbf34e1def744b1c9e4fd75590df6ca 100755 (executable)
@@ -205,7 +205,7 @@ function sync()
                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, {