From 0eb99bf2d5664fc2b357abf1cae2e5df62fc8b6f Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 3 May 2018 12:23:20 -0700 Subject: [PATCH] FML: prefix output with [FML] when showInfo is disabled --- FML/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FML/plugin.py b/FML/plugin.py index 545fd4a..59c0284 100644 --- a/FML/plugin.py +++ b/FML/plugin.py @@ -82,7 +82,7 @@ class FML(callbacks.Plugin): tree.find('deserved').text)) if not self.registryValue("showInfo", msg.args[0]): - s = format('%s - %s', text, votes) + s = format('\x02[FML]\x02 %s - %s', text, votes) else: s = format('\x02#%i [%s]\x02: %s - %s %u', fmlid, category, text, votes, url)