Renamed string.gfind to string.gmatch
Lua 5.1: string.gfind renamed to string.gmatch Lua 5.2: string.gfind removed Signed-off-by: Arvydas Sidorenko <asido4@gmail.com> Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
4c094a279d
commit
56170db631
|
@ -150,7 +150,7 @@ function utils.parse(file)
|
|||
-- line separated by semicolon.
|
||||
if program.Categories then
|
||||
program.categories = {}
|
||||
for category in program.Categories:gfind('[^;]+') do
|
||||
for category in program.Categories:gmatch('[^;]+') do
|
||||
table.insert(program.categories, category)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue