Remove stupid "Netsplit: None" message

This commit is contained in:
Kiooeht 2012-02-21 20:37:31 -08:00
parent 9e4b1a4d32
commit a81c17d239

View file

@ -921,11 +921,12 @@ class PesterMemo(PesterConvo):
@QtCore.pyqtSlot()
def dumpNetsplit(self):
chum = self.mainwindow.profile()
systemColor = QtGui.QColor(self.mainwindow.theme["memos/systemMsgColor"])
msg = chum.memonetsplitmsg(systemColor, self.netsplit)
self.textArea.append(convertTags(msg))
self.mainwindow.chatlog.log(self.channel, msg)
if (len(self.netsplit) > 0):
chum = self.mainwindow.profile()
systemColor = QtGui.QColor(self.mainwindow.theme["memos/systemMsgColor"])
msg = chum.memonetsplitmsg(systemColor, self.netsplit)
self.textArea.append(convertTags(msg))
self.mainwindow.chatlog.log(self.channel, msg)
del self.netsplit
@QtCore.pyqtSlot(QtCore.QString, QtCore.QString, QtCore.QString)