From 39b4157836051d1ecc426fcd0a46c809ce4e724d Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 23 Dec 2020 23:10:57 +0100 Subject: [PATCH] Fix acknowledge --- squinnondation/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squinnondation/messages.py b/squinnondation/messages.py index a0da0fa..db270b4 100644 --- a/squinnondation/messages.py +++ b/squinnondation/messages.py @@ -213,7 +213,7 @@ class DataTLV(TLV): return # Acknowledge the packet - squirrel.send_packet(sender, Packet.construct(AckTLV.construct(sender.id, self.nonce))) + squirrel.send_packet(sender, Packet.construct(AckTLV.construct(self.sender_id, self.nonce))) nickname_match = re.match("(.*): (.*)", msg) if nickname_match is None: