From d11d5efe6f8c7245b51d3baccdcac5859cefe804 Mon Sep 17 00:00:00 2001 From: Kiooeht Date: Sun, 19 Jun 2011 05:32:06 -0700 Subject: [PATCH] Bug fix: Force ChanServ messages to system colour --- TODO.mkdn | 1 - pesterchum.py | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO.mkdn b/TODO.mkdn index 42f5e6d..e5eef59 100644 --- a/TODO.mkdn +++ b/TODO.mkdn @@ -12,7 +12,6 @@ Features * "someone has friended you" notifier * MSPA update notifier option * Don't animate emotes not in current tab -* Humanify times > 24 hours * Show true bans? Bugs diff --git a/pesterchum.py b/pesterchum.py index b29de1b..598bbcc 100644 --- a/pesterchum.py +++ b/pesterchum.py @@ -1737,6 +1737,9 @@ class PesterWindow(MovingWindow): memo.times[handle] = time if msg[0:3] != "/me" and msg[0:13] != "PESTERCHUM:ME": msg = addTimeInitial(msg, memo.times[handle].getGrammar()) + if handle == "ChanServ": + systemColor = QtGui.QColor(self.theme["memos/systemMsgColor"]) + msg = "%s" % (systemColor.name(), msg) memo.addMessage(msg, handle) if self.config.soundOn(): if self.config.memoSound():