From e76492815e75ead949a424c3fec73ac19c739f0a Mon Sep 17 00:00:00 2001 From: yvesf Date: Sun, 13 Dec 2009 14:57:11 +0000 Subject: call shutdown git-svn-id: http://xapek.org/svn/common/omegle@1486 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- omegle/icq.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1