diff --git a/sleekxmpp/xmlstream/xmlstream.py b/sleekxmpp/xmlstream/xmlstream.py index d571c0f..8305a91 100644 --- a/sleekxmpp/xmlstream/xmlstream.py +++ b/sleekxmpp/xmlstream/xmlstream.py @@ -1242,7 +1242,6 @@ class XMLStream(object): shutdown = True except SyntaxError as e: log.error("Error reading from XML stream.") - shutdown = True self.exception(e) except Socket.error as serr: self.event('socket_error', serr, direct=True)