diff --git a/ext/ban_words/main.php b/ext/ban_words/main.php index 6d4ee986..c9256a58 100644 --- a/ext/ban_words/main.php +++ b/ext/ban_words/main.php @@ -54,7 +54,9 @@ xanax } public function onCommentPosting(CommentPostingEvent $event) { - $this->test_text($event->comment, new CommentPostingException("Comment contains banned terms")); + if(!$user->can("bypass_comment_checks")) { + $this->test_text($event->comment, new CommentPostingException("Comment contains banned terms")); + } } public function onSourceSet(SourceSetEvent $event) {