Update mesecons_detector/init.lua

This commit is contained in:
sfan5 2024-01-13 11:02:52 +01:00 committed by GitHub
parent 0a07ef60bd
commit 872cbfac83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ local GET_COMMAND = "GET"
local function comma_list_to_table(comma_list)
local tbl = {}
for _, str in pairs(string.split(comma_list:gsub(" ", ""), ",")) do
for _, str in ipairs(string.split(comma_list:gsub("%s", ""), ",")) do
tbl[str] = true
end
return tbl