summaryrefslogtreecommitdiff
path: root/proxy.py
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-07-01 21:25:37 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-07-01 21:25:37 +0000
commit082ff2e370ad174c326e0d8417d5dc4928b206ab (patch)
treed00eeae47e485af5b66e8715288cf05cd13b416b /proxy.py
parent0460320393b10033df2badb98daefe0335232876 (diff)
downloadomegle-082ff2e370ad174c326e0d8417d5dc4928b206ab.tar.gz
omegle-082ff2e370ad174c326e0d8417d5dc4928b206ab.zip
icq bot an dranom upda
git-svn-id: http://xapek.org/svn/common/omegle@1173 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'proxy.py')
-rw-r--r--proxy.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/proxy.py b/proxy.py
index 43e5a24..93e9911 100644
--- a/proxy.py
+++ b/proxy.py
@@ -73,7 +73,10 @@ class OmegleProxyChat(OmegleChat):
def on_disconnect(self):
print self.c("%s [EVT] %s disconnect" % (time.strftime("%H:%M:%S"), self.name))
if self.partner.is_confirmed:
- self.partner.disconnect()
+ try:
+ self.partner.disconnect()
+ except:
+ pass
self.disconnect_event.set()