Fix crash in crosslink "last" command
This commit is contained in:
parent
3d2ce8d236
commit
9eb51e9daf
|
@ -76,7 +76,7 @@ class FRNCrosslinkClient(FRNClient):
|
||||||
self.sendMultiLineTextMessage(client, cl)
|
self.sendMultiLineTextMessage(client, cl)
|
||||||
elif cmd == "last":
|
elif cmd == "last":
|
||||||
ml = []
|
ml = []
|
||||||
if talking is not None:
|
if talking is None:
|
||||||
ml.append("No client talking now")
|
ml.append("No client talking now")
|
||||||
else:
|
else:
|
||||||
ml.append("%s is talking now" % talking.user.ON)
|
ml.append("%s is talking now" % talking.user.ON)
|
||||||
|
|
Loading…
Reference in New Issue