Make disconnect function public

This commit is contained in:
Joscha 2016-05-10 19:54:04 +02:00
parent 795fdd768b
commit b0d9953ed8

View file

@ -71,9 +71,9 @@ class Connection():
time.sleep(delay)
return False
def _disconnect(self):
def disconnect(self):
"""
_disconnect() -> None
disconnect() -> None
Reconnect to the room.
WARNING: To completely disconnect, use stop().