Fix has_variable method of utils
This commit is contained in:
parent
5b0b183a4d
commit
9786975004
|
@ -45,7 +45,7 @@ utils.has_variable = function(var, value)
|
|||
local servers = variables["global"]["SERVER_NAME"]
|
||||
-- Check each server
|
||||
for server in servers:gmatch("%S+") do
|
||||
if variables[server][var] == "value" then
|
||||
if variables[server][var] == value then
|
||||
return true, "success"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue