Fix wrong arguments for Sync:appendFilter proxy function

This commit is contained in:
Daniel Poelzleithner 2022-11-09 22:41:46 +01:00
parent 9b81bb1785
commit e09b58b721
1 changed files with 5 additions and 3 deletions

View File

@ -2509,15 +2509,17 @@ local Sync = ( function
return self.excludes:add( pattern )
end
--
-- Appends a filter line to the Sync
--
local function appendFilter
(
self,
rule,
pattern
line
)
if not self.filters then self.filters = Filters.new( ) end
return self.filters:append( rule, pattern )
return self.filters:append( line )
end
--