projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0a991b
)
* Fixed a bug in Luci Splash where splash leases were deleted after the next sync...
author
Steven Barth
<steven@midlink.org>
Wed, 30 Apr 2008 19:33:48 +0000
(19:33 +0000)
committer
Steven Barth
<steven@midlink.org>
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
ff876c3
..
1520491
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