fixup on_event.lua

This commit is contained in:
gfgtdf 2016-07-11 15:12:12 +02:00 committed by GitHub
parent 9a5eabb207
commit d73d32e8e2

View file

@ -19,7 +19,7 @@ end
local function on_event(eventname, arg1, arg2)
if string.match(eventname, ",") then
for elem in utils.split(eventname or "") do
on_event(eventname, arg1, arg2)
on_event(elem, arg1, arg2)
end
end
local priority = 0