Skip to content

Commit

Permalink
Update mesecons_detector/init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 authored Jan 13, 2024
1 parent 0a07ef6 commit 872cbfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesecons_detector/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 872cbfa

Please sign in to comment.