From fce00ab4e3a8a54b4e4b2de623bb85252531490f Mon Sep 17 00:00:00 2001 From: Joscha Date: Mon, 23 May 2016 21:35:31 +0200 Subject: [PATCH] Stop when password unknown --- yaboli/room.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yaboli/room.py b/yaboli/room.py index 75201d9..e9bcc35 100644 --- a/yaboli/room.py +++ b/yaboli/room.py @@ -354,6 +354,8 @@ class Room(): if self.password is not None: self.authenticate(self.password) + else: + self.stop() def _handle_disconnect_event(self, data): """