This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Run queries.ban on all spam things so spam_filtered will update.

  • Loading branch information...
1 parent c012ff8 commit 23bb2f16fa090a06a0695488efe9e70fa0b286a8 @bsimpson63 bsimpson63 committed Jul 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 r2/r2/models/admintools.py
@@ -78,7 +78,7 @@ def spam(self, things, auto=True, moderator_banned=False,
self.set_last_sr_ban(new_things)
queries.mark_moderated(things)
- queries.ban(new_things)
+ queries.ban(all_things)
def unspam(self, things, unbanner=None, train_spam=True, insert=True):
from r2.lib.db import queries

0 comments on commit 23bb2f1

Please sign in to comment.