Whoops: Make people exit from memos on ping timeouts/broken pipes/etc
This commit is contained in:
parent
44fa9cdc99
commit
aab2654300
1 changed files with 1 additions and 1 deletions
2
memos.py
2
memos.py
|
@ -704,7 +704,7 @@ class PesterMemo(PesterConvo):
|
||||||
|
|
||||||
@QtCore.pyqtSlot(QtCore.QString, QtCore.QString, QtCore.QString)
|
@QtCore.pyqtSlot(QtCore.QString, QtCore.QString, QtCore.QString)
|
||||||
def userPresentChange(self, handle, channel, update):
|
def userPresentChange(self, handle, channel, update):
|
||||||
if channel != self.channel:
|
if channel != self.channel and update != "quit":
|
||||||
return
|
return
|
||||||
h = unicode(handle)
|
h = unicode(handle)
|
||||||
c = unicode(channel)
|
c = unicode(channel)
|
||||||
|
|
Loading…
Reference in a new issue