summaryrefslogtreecommitdiff
path: root/proxy.py
diff options
context:
space:
mode:
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: