Changed order of COLOR and PESTERCHUM:BEGIN (test)

This commit is contained in:
Dpeta 2021-04-20 00:05:50 +02:00
parent ada5e99be9
commit 64e8c9311d

2
irc.py
View file

@ -162,9 +162,9 @@ class PesterIRC(QtCore.QThread):
def startConvo(self, handle, initiated): def startConvo(self, handle, initiated):
h = str(handle) h = str(handle)
try: try:
helpers.msg(self.cli, h, "COLOR >%s" % (self.mainwindow.profile().colorcmd()))
if initiated: if initiated:
helpers.msg(self.cli, h, "PESTERCHUM:BEGIN") helpers.msg(self.cli, h, "PESTERCHUM:BEGIN")
helpers.msg(self.cli, h, "COLOR >%s" % (self.mainwindow.profile().colorcmd()))
except socket.error: except socket.error:
self.setConnectionBroken() self.setConnectionBroken()
@QtCore.pyqtSlot(QString) @QtCore.pyqtSlot(QString)