Add a point to a message's score for each additional script they use

(mixed_unicode.py)
This commit is contained in:
jesopo 2018-11-20 13:24:28 +00:00
parent e31d9750ed
commit b98bf65a86

View file

@ -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])