Only TRACE log when score is more than 0 (mixed_unicode.py)

This commit is contained in:
jesopo 2018-11-20 12:42:45 +00:00
parent f507da3b9a
commit 727ade4022

View file

@ -62,4 +62,6 @@ class Module(ModuleManager.BaseModule):
last_script = script
last_was_separator = False
self.log.trace("Message given a mixed-unicode score of %d", [score])
if score > 0:
self.log.trace("Message given a mixed-unicode score of %d", [score])