This commit is contained in:
@@ -6,9 +6,7 @@ local function StringToMap(str, deliminer)
|
||||
local parts = { strsplit(deliminer, str) }
|
||||
for _, line in ipairs(parts) do
|
||||
line = strtrim(line)
|
||||
if line ~= "" then
|
||||
map[line] = true
|
||||
end
|
||||
if line ~= "" then map[line] = true end
|
||||
end
|
||||
return map
|
||||
end
|
||||
@@ -21,9 +19,7 @@ local function StringToArray(str, deliminer)
|
||||
local array = { strsplit(deliminer, str) }
|
||||
for i, line in ipairs(array) do
|
||||
line = strtrim(line)
|
||||
if line ~= "" then
|
||||
ret[i] = line
|
||||
end
|
||||
if line ~= "" then ret[i] = line end
|
||||
end
|
||||
return ret
|
||||
end
|
||||
@@ -39,7 +35,7 @@ local config = {
|
||||
stinky = aura_env.config.spotter.stinky,
|
||||
notifyChannel = aura_env.config.spotter.notifyChannel,
|
||||
zoneOverride = aura_env.config.spotter.zoneOverride,
|
||||
throttleTime = aura_env.config.spotter.throttleTime
|
||||
throttleTime = aura_env.config.spotter.throttleTime,
|
||||
},
|
||||
who = {
|
||||
enabled = aura_env.config.who.enabled,
|
||||
|
||||
Reference in New Issue
Block a user