]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WatchMaildir.pm
add filter for RubyLang lists
[public-inbox.git] / lib / PublicInbox / WatchMaildir.pm
index c436742cfa6244a191ea62503ac6771cb2a57edb..8588f16c836a449366c0be375fea745c3c1651ed 100644 (file)
@@ -242,7 +242,7 @@ sub _scrubber_for {
        my ($inbox) = @_;
        my $f = $inbox->{filter};
        if ($f && $f =~ /::/) {
-               my @args;
+               my @args = (-inbox => $inbox);
                # basic line splitting, only
                # Perhaps we can have proper quote splitting one day...
                ($f, @args) = split(/\s+/, $f) if $f =~ /\s+/;