mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 20:50:01 +00:00
core: global environment cleanup
This commit is contained in:
@@ -90,7 +90,7 @@ pfUI:RegisterModule("addonbuttons", function ()
|
||||
|
||||
local function TablePartialMatch(table, needle)
|
||||
for i,v in ipairs(table) do
|
||||
pos_start, pos_end = strfind(strlower(needle), strlower(v))
|
||||
local pos_start, pos_end = strfind(strlower(needle), strlower(v))
|
||||
if pos_start == 1 then
|
||||
return i
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user