summaryrefslogtreecommitdiff
path: root/proxy.py
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-05-28 13:49:12 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2009-05-28 13:49:12 +0000
commit9dbaa1b392358fb8bca67060431c737c30ac8edb (patch)
tree9773c2be165ba7d64fa4b23494dc5b57cbbee7fc /proxy.py
parentc101bbc442950560a17b27bc45cde714ac2c81c7 (diff)
downloadomegle-9dbaa1b392358fb8bca67060431c737c30ac8edb.tar.gz
omegle-9dbaa1b392358fb8bca67060431c737c30ac8edb.zip
git-svn-id: http://xapek.org/svn/common/omegle@1026 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'proxy.py')
-rw-r--r--proxy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/proxy.py b/proxy.py
index a5b0803..438d753 100644
--- a/proxy.py
+++ b/proxy.py
@@ -11,7 +11,7 @@ chat_lock = Lock()
class OmegleProxyChat(OmegleChat):
def __init__(self,name,color=0):
- OmegleChat.__init__(self)
+ OmegleChat.__init__(self,name="(" + name + ")")
self.name = name
self.color = color
def c(self,str,bold=False):
@@ -61,6 +61,7 @@ try:
while True:
if chat_lock.acquire(0):
print "One part disconnected, exiting"
+ break
else:
time.sleep(0.5)
except KeyboardInterrupt: