From db6993ad634a8c61dc31baae2111dc5dd87960e5 Mon Sep 17 00:00:00 2001 From: Nicolas Coevoet Date: Tue, 26 Nov 2013 22:16:15 +0100 Subject: [PATCH] fixed an issue about announceOthers and SpamQueue bad detection --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 2897e5c..e8ef926 100644 --- a/plugin.py +++ b/plugin.py @@ -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