summaryrefslogtreecommitdiffhomepage
path: root/src/ffluci/util.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/ffluci/util.lua')
-rw-r--r--src/ffluci/util.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ffluci/util.lua b/src/ffluci/util.lua
index b219be130e..8a526173d7 100644
--- a/src/ffluci/util.lua
+++ b/src/ffluci/util.lua
@@ -161,7 +161,7 @@ function validate(value, cast_number, cast_int, valid)
if type(valid) == "function" then
value = valid(value)
elseif type(valid) == "table" then
- if not ffluci.util.contains(valid, value) then
+ if not contains(valid, value) then
value = nil
end
end