From f743a0c7e71cf4cf152144a76a2041b731c95919 Mon Sep 17 00:00:00 2001 From: yvesf Date: Fri, 3 Jul 2009 20:43:51 +0000 Subject: icq up git-svn-id: http://xapek.org/svn/common/omegle@1175 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- omegle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'omegle.py') diff --git a/omegle.py b/omegle.py index 2a8eae2..528b629 100644 --- a/omegle.py +++ b/omegle.py @@ -100,7 +100,7 @@ class OmegleChat(RESTClient): self.logger.debug("disconnect()") self.is_confirmed = False self.timer.stop() - if self.is_confirmed: + if self.is_connected: r = RESTClient.request(self,"POST", "/disconnect", urllib.urlencode({'id': self.id})) body = r.read() self.logger.debug("/disconnect sent. Read: %s" % body) -- cgit v1.2.1