diff options
-rw-r--r-- | contrib/package/ffluci-splash/src/luci-splash.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/package/ffluci-splash/src/luci-splash.lua b/contrib/package/ffluci-splash/src/luci-splash.lua index ff876c3fd..1520491e0 100644 --- a/contrib/package/ffluci-splash/src/luci-splash.lua +++ b/contrib/package/ffluci-splash/src/luci-splash.lua @@ -145,7 +145,7 @@ function sync() -- For all leases - for k, v in pairs(uci:show("luci_splash")) do + for k, v in pairs(leases) do if v[".type"] == "lease" then if os.difftime(time, tonumber(v.start)) > leasetime then -- Remove expired |