Sigh. More changes for newer versions of perl.
authorKen Hornstein <kenh@pobox.com>
Fri, 13 Apr 2012 15:23:20 +0000 (11:23 -0400)
committerKen Hornstein <kenh@pobox.com>
Fri, 13 Apr 2012 15:23:20 +0000 (11:23 -0400)
docs/contrib/replyfilter

index a080710..2e98794 100755 (executable)
@@ -321,7 +321,7 @@ sub process_text (*$$;$)
        # Send our input to the filter program
        #
 
-       if (defined %filterreplace) {
+       if (%filterreplace) {
                foreach my $match (keys %filterreplace) {
                         $text =~ s/$match/$filterreplace{$match}/g;
                }