diff options
author | Byron Jones <glob@mozilla.com> | 2015-03-23 04:21:22 +0100 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-03-23 04:21:22 +0100 |
commit | 9d045e4d060bc531e4243c621d07c79699fd22c8 (patch) | |
tree | 34eb2e01a26e4fa7ba73144a329496a13e33466b /extensions/AntiSpam/Extension.pm | |
parent | cf1539d9223bd4ebc2c64cdc25624603aa7441ea (diff) | |
download | bugzilla-9d045e4d060bc531e4243c621d07c79699fd22c8.tar.gz bugzilla-9d045e4d060bc531e4243c621d07c79699fd22c8.tar.xz |
Bug 1146219: the 'abuse' comment tag should function like the 'abusive' tag and trigger automatic account disabling
Diffstat (limited to 'extensions/AntiSpam/Extension.pm')
-rw-r--r-- | extensions/AntiSpam/Extension.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/AntiSpam/Extension.pm b/extensions/AntiSpam/Extension.pm index 7a0f27b31..5ddc4c833 100644 --- a/extensions/AntiSpam/Extension.pm +++ b/extensions/AntiSpam/Extension.pm @@ -132,7 +132,7 @@ sub _ip_blocking { sub comment_after_add_tag { my ($self, $args) = @_; my $tag = lc($args->{tag}); - return unless $tag eq 'spam' or $tag eq 'abusive'; + return unless $tag eq 'spam' or $tag eq 'abusive' or $tag eq 'abuse'; my $comment = $args->{comment}; my $author = $comment->author; |