diff --git a/frn/manager/remote.py b/frn/manager/remote.py index 2efe62f..f8978fc 100644 --- a/frn/manager/remote.py +++ b/frn/manager/remote.py @@ -21,6 +21,7 @@ class CustomManagerClientFactory(FRNManagerClientFactory): def managerConnected(self, connection): def authReply(auth): + self.resetDelay() self.authResult = auth self.authDone = (auth['al'] == '0') if self.authDone: diff --git a/frn/protocol/server.py b/frn/protocol/server.py index ec30da9..1e599e5 100644 --- a/frn/protocol/server.py +++ b/frn/protocol/server.py @@ -146,6 +146,8 @@ class FRNServer(BufferingLineReceiver, TimeoutMixin): def decodeST(self, body): log.msg("Set status = %d" % int(body)) + if int(body) > 1: + self.startPinging() self.factory.tracker.setStatus(self.user.ID, int(body)) def decodeTM(self, body): diff --git a/twisted/plugins/frncrosslink.py b/twisted/plugins/frncrosslink.py index 0b13bfd..c38334d 100755 --- a/twisted/plugins/frncrosslink.py +++ b/twisted/plugins/frncrosslink.py @@ -78,7 +78,7 @@ class FRNCrosslinkClient(FRNClient): ml = [] ml.append("Last active talkers (most recent first):") for n in lastMessages: - ml.append(n) + ml.append(" - "+n) self.sendMultiLineTextMessage(client, ml) def decodeTX(self, my_id):