skip notify of spam

This commit is contained in:
JT Smith 2008-12-16 23:01:47 +00:00
parent b921f6bdc5
commit 80fdb029b5

View file

@ -959,6 +959,7 @@ sub postProcess {
if (ref $spamStopWords eq 'ARRAY') {
my $spamRegex = join('|',@{$spamStopWords});
if ($data{content} =~ m/$spamRegex/xmsi) {
$data{skipNotification} = 1;
$self->trash;
}
}