summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
Diffstat (limited to 'libs')
-rw-r--r--libs/uci/luasrc/model/uci.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/uci/luasrc/model/uci.lua b/libs/uci/luasrc/model/uci.lua
index 2385cc37ca..587cd63c0b 100644
--- a/libs/uci/luasrc/model/uci.lua
+++ b/libs/uci/luasrc/model/uci.lua
@@ -77,7 +77,7 @@ function Cursor.delete_all(self, config, stype, comparator)
local tbl = comparator
comparator = function(section)
for k, v in pairs(tbl) do
- if not section[k] == v then
+ if section[k] ~= v then
return false
end
end