Stop when password unknown
This commit is contained in:
parent
e5c3d05941
commit
fce00ab4e3
1 changed files with 2 additions and 0 deletions
|
|
@ -354,6 +354,8 @@ class Room():
|
||||||
|
|
||||||
if self.password is not None:
|
if self.password is not None:
|
||||||
self.authenticate(self.password)
|
self.authenticate(self.password)
|
||||||
|
else:
|
||||||
|
self.stop()
|
||||||
|
|
||||||
def _handle_disconnect_event(self, data):
|
def _handle_disconnect_event(self, data):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue