Fix has_variable method of utils

This commit is contained in:
Théophile Diot 2023-06-12 06:56:35 -04:00
parent 5b0b183a4d
commit 9786975004
No known key found for this signature in database
GPG Key ID: E752C80DB72BB014
1 changed files with 1 additions and 1 deletions

View File

@ -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