* Fixed luci-splash again
This commit is contained in:
parent
85cba95646
commit
9d8abf9c3e
@ -73,7 +73,7 @@ function remove_lease(mac)
|
||||
mac = mac:lower()
|
||||
|
||||
for k, v in pairs(uci:show("luci_splash").luci_splash) do
|
||||
if v.mac:lower() == mac then
|
||||
if v[".type"] == "lease" and v.mac:lower() == mac then
|
||||
remove_rule(mac)
|
||||
uci:del("luci_splash", k)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user