summaryrefslogtreecommitdiff
path: root/omegle.py
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-05-30 15:59:58 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-05-30 15:59:58 +0000
commita1ab6215edbaf492492fac5f2a1c560d16ec2978 (patch)
treef2bccc3f9870f3e224f7d1e62adaa898957c675c /omegle.py
parentafc808ccbb2ba0c74974283d6a7a85b25ce34e92 (diff)
downloadomegle-a1ab6215edbaf492492fac5f2a1c560d16ec2978.tar.gz
omegle-a1ab6215edbaf492492fac5f2a1c560d16ec2978.zip
bla
git-svn-id: http://xapek.org/svn/common/omegle@1056 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
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)