diff options
author | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-05-28 10:01:35 +0000 |
---|---|---|
committer | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-05-28 10:01:35 +0000 |
commit | b89463084b239985268edf7d3ff08a08f99987bd (patch) | |
tree | 0bdafb5c81283edfa7b82cc88ac71846383c217e | |
parent | 148facadf4b6ca036f1f4d52ed82108a665550b4 (diff) | |
download | omegle-b89463084b239985268edf7d3ff08a08f99987bd.tar.gz omegle-b89463084b239985268edf7d3ff08a08f99987bd.zip |
imessage
git-svn-id: http://xapek.org/svn/common/omegle@1023 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
-rw-r--r-- | proxy.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -22,7 +22,8 @@ class OmegleProxyChat(OmegleChat): def on_message(self,message): print self.c("%s [MSG] %s: %s" %(time.strftime("%H:%M:%S"), self.name, message),bold=True) - self.partner.send(message) + if self.partner.is_connected: + self.partner.send(message) def on_connect(self): print self.c("%s [EVT] %s Connection confirmed" % (time.strftime("%H:%M:%S"), self.name)) def on_typing(self): |