summaryrefslogtreecommitdiff
path: root/omegle.py
diff options
context:
space:
mode:
Diffstat (limited to 'omegle.py')
-rw-r--r--omegle.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/omegle.py b/omegle.py
index 04e7a37..fd4caef 100644
--- a/omegle.py
+++ b/omegle.py
@@ -97,6 +97,7 @@ class OmegleChat(RESTClient):
if body == "win":
self.is_confirmed = False
self.id = None
+ self.conn.close()
else:
raise Exception("/disconnect; Bad response: %s" % body)