diff --git a/dataobjs.py b/dataobjs.py
index 76cc39b..4b0ee60 100644
--- a/dataobjs.py
+++ b/dataobjs.py
@@ -280,6 +280,10 @@ class PesterProfile(object):
else: modeon = "no longer"
return "Memo is %s %s by %s" % \
(syscolor.name(), modeon, modeverb, opchum.colorhtml(), opinit)
+ def memoquirkkillmsg(self, opchum, opgrammar, syscolor):
+ opinit = opgrammar.pcf+opchum.initials()+opgrammar.number
+ return "%s turned off you quirk." % \
+ (syscolor.name(), opchum.colorhtml(), opinit)
@staticmethod
def checkLength(handle):
diff --git a/memos.py b/memos.py
index af322b6..a1c65bd 100644
--- a/memos.py
+++ b/memos.py
@@ -819,7 +819,18 @@ class PesterMemo(PesterConvo):
if msg == self.mainwindow.profile().handle:
self.quirksOff.setChecked(True)
self.applyquirks = False
- # TODO: Politely notify the client
+ systemColor = QtGui.QColor(self.mainwindow.theme["memos/systemMsgColor"])
+ chum = self.mainwindow.profile()
+ opchum = PesterProfile(op)
+ if self.times.has_key(op):
+ opgrammar = self.times[op].getGrammar()
+ elif op == self.mainwindow.profile().handle:
+ opgrammar = self.time.getGrammar()
+ else:
+ opgrammar = TimeGrammar("CURRENT", "C", "RIGHT NOW")
+ msg = chum.memoquirkkillmsg(opchum, opgrammar, systemColor)
+ self.textArea.append(convertTags(msg))
+ self.mainwindow.chatlog.log(self.channel, msg)
@QtCore.pyqtSlot(QtCore.QString, QtCore.QString, QtCore.QString)
def userPresentChange(self, handle, channel, update):