X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/64484656099dfff360742f3a2c1e4d07bc1f6bd8..2be03e537ecc3396abc91621c5bfb23ecc125e47:/sommitrealweird/blog/models.py diff --git a/sommitrealweird/blog/models.py b/sommitrealweird/blog/models.py index c98407d..f76de30 100644 --- a/sommitrealweird/blog/models.py +++ b/sommitrealweird/blog/models.py @@ -33,7 +33,10 @@ class BlogEntryCommentModerator(CommentModerator): email_notification = True def moderate(self, comment, content_object, request): - return True + if request.user.is_authenticated(): + return False + else: + return True moderator.register(BlogEntry, BlogEntryCommentModerator)