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 * "someone has friended you" notifier
* MSPA update notifier option * MSPA update notifier option
* Don't animate emotes not in current tab * Don't animate emotes not in current tab
* Humanify times > 24 hours
* Show true bans? * Show true bans?
Bugs Bugs

View file

@ -1737,6 +1737,9 @@ class PesterWindow(MovingWindow):
memo.times[handle] = time memo.times[handle] = time
if msg[0:3] != "/me" and msg[0:13] != "PESTERCHUM:ME": if msg[0:3] != "/me" and msg[0:13] != "PESTERCHUM:ME":
msg = addTimeInitial(msg, memo.times[handle].getGrammar()) 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) memo.addMessage(msg, handle)
if self.config.soundOn(): if self.config.soundOn():
if self.config.memoSound(): if self.config.memoSound():