]> git.marmaro.de Git - mmh/commitdiff
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 a080710d53b9fc9a99328a32dc7a223bc30f79f2..2e987946c745ce226d4938f54b44420673768758 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;
                }