mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-12 14:17:47 +00:00
fixing Stefanos problem
This commit is contained in:
parent
19094a9fd4
commit
9dbea196c5
@ -63,7 +63,7 @@ default.action = function( inlet )
|
||||
|
||||
local func = config[ 'on'.. event.etype ]
|
||||
|
||||
if func then
|
||||
if type( func ) == 'function' then
|
||||
func( event, event2 )
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user