diff options
Diffstat (limited to 'extensions/Profanivore/Extension.pm')
-rw-r--r-- | extensions/Profanivore/Extension.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Profanivore/Extension.pm b/extensions/Profanivore/Extension.pm index 9584ee695..013f92fee 100644 --- a/extensions/Profanivore/Extension.pm +++ b/extensions/Profanivore/Extension.pm @@ -45,7 +45,7 @@ sub bug_format_comment { # it tries to stop an arms race starting.) if ($comment && !$comment->author->in_group('editbugs') && - $comment->author->id != Bugzilla->user->id) + $comment->author->id != Bugzilla->user->id) { push (@$regexes, { match => RE_profanity('-i'), @@ -76,7 +76,7 @@ sub mailer_before_send { $author = new Bugzilla::User({ name => $author }); if ($author && - $author->id && + $author->id && !$author->in_group('editbugs')) { # Multipart emails |