Bug fix: Force ChanServ messages to system colour

This commit is contained in:
Kiooeht 2011-06-19 05:32:06 -07:00
parent 603f61ca5c
commit d11d5efe6f
2 changed files with 3 additions and 1 deletions

View file

@ -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

View file

@ -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 = "<c=%s>%s</c>" % (systemColor.name(), msg)
memo.addMessage(msg, handle)
if self.config.soundOn():
if self.config.memoSound():