git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
c0a991b
)
* Fixed a bug in Luci Splash where splash leases were deleted after the next sync...
author
Steven Barth
<redacted>
Wed, 30 Apr 2008 19:33:48 +0000
(19:33 +0000)
committer
Steven Barth
<redacted>
Wed, 30 Apr 2008 19:33:48 +0000
(19:33 +0000)
contrib/package/ffluci-splash/src/luci-splash.lua
patch
|
blob
|
history
diff --git
a/contrib/package/ffluci-splash/src/luci-splash.lua
b/contrib/package/ffluci-splash/src/luci-splash.lua
index ff876c3fd02e421850c27ca9afc4308f84b8c7ec..1520491e026f7af8ff9c713dda63439946f57f2e 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT