Skip to content

Commit

Permalink
That's not an equality check
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtOfCode- committed Jun 11, 2017
1 parent cda70e0 commit 414a312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion findspam.py
Expand Up @@ -479,7 +479,7 @@ def mostly_dots(s, site, *args):
def mevaqesh_troll(s, *args):
s = s.lower().replace(' ', '')
bad = 'mevaqeshthereforehasnoshareintheworldtocome'
if s == bad:
if bad in s:
return True, "Post matches pattern from a known troll"
else:
return False, ""
Expand Down

0 comments on commit 414a312

Please sign in to comment.