Fixed validation check

This commit is contained in:
2010-04-02 19:50:46 +01:00
parent be12cbf90a
commit ed05f50217

View File

@@ -63,7 +63,7 @@ class ProcessValidations():
for msg in inbox:
if not msg.was_comment and msg.new:
try:
acc = RedditAccount.objects.get(username_iexact=msg.username)
acc = RedditAccount.objects.get(username__iexact=msg.author)
if not acc.validated and msg.body == acc.user.username:
acc.validated = True
acc.save()