mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
Fix has_variable method of utils
This commit is contained in:
parent
5b0b183a4d
commit
9786975004
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue