From 4055e7c21f49baa39cf8c8d6f865b171870bceda Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 5 Jun 2019 20:52:25 +0100 Subject: [PATCH] put formatting reset after !seen info (so colors can't leak) --- modules/seen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/seen.py b/modules/seen.py index d8af6bd6..d4d7b007 100644 --- a/modules/seen.py +++ b/modules/seen.py @@ -35,7 +35,7 @@ class Module(ModuleManager.BaseModule): if seen_seconds: seen_info = user.get_setting("seen-info", None) seen_info = "" if seen_info == None else ( - " (%s)" % seen_info["action"]) + " (%s%s)" % (seen_info["action"], utils.consts.RESET)) since = utils.to_pretty_time(time.time()-seen_seconds, max_units=2)