fixed an issue about announceOthers and SpamQueue bad detection

This commit is contained in:
Nicolas Coevoet 2013-11-26 22:16:15 +01:00
parent 709bccb8ff
commit db6993ad63

View File

@ -778,7 +778,7 @@ class Chan (object):
def isWrong (self,pattern):
if 'bad' in self.spam:
if self.spam['bad'].len(pattern) > 0:
if self.spam['bad'].len([pattern]) > 0:
return True
return False