diff options
Diffstat (limited to 'omegle.py')
-rw-r--r-- | omegle.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |