Browse files

fixing Stefanos problem

  • Loading branch information...
1 parent 19094a9 commit 9dbea196c5ba31a8199256bde85ae63345e61f8b axel committed Oct 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 default.lua
View
2 default.lua
@@ -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

0 comments on commit 9dbea19

Please sign in to comment.