summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-12-13 14:57:11 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-12-13 14:57:11 +0000
commite76492815e75ead949a424c3fec73ac19c739f0a (patch)
treefe96ee774c6bd670d8d2022e49462aa96e5b7d2f
parenteff1b8a7c206aad7d77fa64da510f2dc2495226b (diff)
downloadomegle-e76492815e75ead949a424c3fec73ac19c739f0a.tar.gz
omegle-e76492815e75ead949a424c3fec73ac19c739f0a.zip
call shutdown
git-svn-id: http://xapek.org/svn/common/omegle@1486 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
-rw-r--r--omegle/icq.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/omegle/icq.py b/omegle/icq.py
index 37c5db7..3cb5c7f 100644
--- a/omegle/icq.py
+++ b/omegle/icq.py
@@ -109,7 +109,8 @@ class ExtendedBOSConnection( oscar.BOSConnection ):
def connectionLost(self,reason):
print "Connection lost"
- oscar.BOSConnection.connectionLost(self,*args,**kwargs)
+ oscar.BOSConnection.connectionLost(self,reason)
+ self.shutdown()
self.transport.loseConnection()
self.authenticator.connectionLost(reason)