diff --git a/lsyncd.lua b/lsyncd.lua index 22a6e8e..f73e8e2 100644 --- a/lsyncd.lua +++ b/lsyncd.lua @@ -3001,7 +3001,7 @@ local functionWriter = ( function( ) while ai <= #a do if a[ ai ][ 1 ] then local pre, post = - string.match( a[ ai ][ 2 ], '(.*)"..v[1].."(.*)' ) + string.match( a[ ai ][ 2 ], '(.*)'..v[1]..'(.*)' ) if pre then