Fix crash in crosslink "last" command

This commit is contained in:
Maurizio Porrato 2010-09-05 16:47:34 +02:00
parent 3d2ce8d236
commit 9eb51e9daf
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ class FRNCrosslinkClient(FRNClient):
self.sendMultiLineTextMessage(client, cl)
elif cmd == "last":
ml = []
if talking is not None:
if talking is None:
ml.append("No client talking now")
else:
ml.append("%s is talking now" % talking.user.ON)