From 6b0bb512ef837a88a61f6cf5d76f8f7dbeb19fea Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 20 Jan 2020 14:12:37 +0000 Subject: [PATCH] colourise server name for server notice formatting --- src/core_modules/format_activity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core_modules/format_activity.py b/src/core_modules/format_activity.py index 398366e6..d3283de7 100644 --- a/src/core_modules/format_activity.py +++ b/src/core_modules/format_activity.py @@ -157,9 +157,9 @@ class Module(ModuleManager.BaseModule): @utils.hook("received.server-notice") def server_notice(self, event): - line = "-*{SOURCE}- {MSG}" + line = "-*{~SOURCE}- {MSG}" self._event("server-notice", event["server"], line, None, - formatting={"MSG": event["message"], "SOURCE": event["source"]}) + formatting={"MSG": event["message"], "~SOURCE": event["source"]}) @utils.hook("received.invite") def invite(self, event):