From c67aa4efc5239ca8cfc00918b30c6d0e2bf9e259 Mon Sep 17 00:00:00 2001 From: Griatch Date: Mon, 25 May 2015 21:17:00 +0200 Subject: [PATCH] Fixed a bug in splitting long AMP messages as per #750. --- evennia/server/amp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/server/amp.py b/evennia/server/amp.py index 8c3998b0d2..5f3fecfcc3 100644 --- a/evennia/server/amp.py +++ b/evennia/server/amp.py @@ -345,7 +345,7 @@ class AMPProtocol(amp.AMP): return [] else: # all parts in place - deserialize it - return loads(_MSGBUFFER.pop(hashid) + data) + return loads("".join(_MSGBUFFER.pop(hashid)) + data) # Message definition + helper methods to call/create each message type