From 684e2a2c946419ea272ef5b69dc1a9467da6cc4b Mon Sep 17 00:00:00 2001 From: polaris Date: Sun, 25 May 2014 08:22:48 -0400 Subject: [PATCH] Revert "abort decoding query string on bad values" This reverts commit 4809beaad7cdbc4543d92ed4f911ff8f469a3f6d. --- gamespy/gs_query.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gamespy/gs_query.py b/gamespy/gs_query.py index d39de9f..493737a 100644 --- a/gamespy/gs_query.py +++ b/gamespy/gs_query.py @@ -5,10 +5,6 @@ def parse_gamespy_message(message): messages = {} msg = message - if len(msg) == 0 or msg[0] != '\\': - # bad command, return nothing - return "", "" - while len(msg) > 0 and msg[0] == '\\' and "\\final\\" in msg: # Find the command # Don't search for more commands if there isn't a \final\, save the left over for the next packet