Skip to content

Commit

Permalink
link allspam reports to activity tab
Browse files Browse the repository at this point in the history
  • Loading branch information
normalhuman committed Jan 30, 2016
1 parent 5808ba9 commit 1edf238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spamhandling.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def handle_spam(title, body, poster, site, post_url, poster_url, post_id, reason
def handle_user_with_all_spam(user, why):
user_id = user[0]
site = user[1]
s = "[ [SmokeDetector](https://github.com/Charcoal-SE/SmokeDetector) ] All of this user's posts are spam: [user {} on {}](//{}/users/{})" \
s = "[ [SmokeDetector](https://github.com/Charcoal-SE/SmokeDetector) ] All of this user's posts are spam: [user {} on {}](//{}/users/{}?tab=activity)" \
.format(user_id, site, site, user_id)
print GlobalVars.parser.unescape(s).encode('ascii', errors='replace')
if time.time() >= GlobalVars.blockedTime:
Expand Down

0 comments on commit 1edf238

Please sign in to comment.