Add a point to a message's score for each additional script they use
(mixed_unicode.py)
This commit is contained in:
parent
e31d9750ed
commit
b98bf65a86
1 changed files with 2 additions and 0 deletions
|
@ -67,5 +67,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
last_was_separator = False
|
||||
|
||||
if len(scripts) > 1:
|
||||
score += len(scripts)-1
|
||||
if score > 0:
|
||||
self.log.trace("Message given a mixed-unicode score of %s", [score])
|
||||
|
|
Loading…
Reference in a new issue