From 40ad9019697f25f67f74622bc768f4b8a6a24e72 Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Mon, 2 May 2016 23:10:02 +0100 Subject: [PATCH] fix serialization in ChannelEncryptRequest --- steam/core/msg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/steam/core/msg.py b/steam/core/msg.py index f374343..c3a22bc 100644 --- a/steam/core/msg.py +++ b/steam/core/msg.py @@ -296,7 +296,7 @@ class ChannelEncryptRequest: self.load(data) def serialize(self): - return struct.pack("= 16: + if len(data) > 8: self.challenge = data[8:] def __str__(self):