]> diplodocus.org Git - nmh/blobdiff - docs/contrib/replyfilter
Wrap local part (username) of address with double quotes if needed.
[nmh] / 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;
                }