summaryrefslogtreecommitdiff
path: root/omegle/icq.py
diff options
context:
space:
mode:
Diffstat (limited to 'omegle/icq.py')
-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)