mirror of
https://github.com/octoleo/lsyncd.git
synced 2024-12-04 19:03:17 +00:00
Fix wrong arguments for Sync:appendFilter proxy function
This commit is contained in:
parent
9b81bb1785
commit
e09b58b721
@ -2509,15 +2509,17 @@ local Sync = ( function
|
|||||||
return self.excludes:add( pattern )
|
return self.excludes:add( pattern )
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Appends a filter line to the Sync
|
||||||
|
--
|
||||||
local function appendFilter
|
local function appendFilter
|
||||||
(
|
(
|
||||||
self,
|
self,
|
||||||
rule,
|
line
|
||||||
pattern
|
|
||||||
)
|
)
|
||||||
if not self.filters then self.filters = Filters.new( ) end
|
if not self.filters then self.filters = Filters.new( ) end
|
||||||
|
|
||||||
return self.filters:append( rule, pattern )
|
return self.filters:append( line )
|
||||||
end
|
end
|
||||||
|
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user