summaryrefslogtreecommitdiff
path: root/injector.py
diff options
context:
space:
mode:
Diffstat (limited to 'injector.py')
-rw-r--r--injector.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/injector.py b/injector.py
index 6383804..efb3d65 100644
--- a/injector.py
+++ b/injector.py
@@ -119,15 +119,16 @@ class InjectorWindow(object):
from omegle import OmegleChat
+
class Chat(OmegleChat):
- def __init__(self,injector):
+ def __init__(self,injector,name):
OmegleChat.__init__(self)
self.injector = injector
self.name = name
def on_message(self,msg):
#XXX handle linking
- injector.add_message("%s %s : %s" % (1, self.name, msg)
-
+ injector.add_message("%s %s : %s" % (1, self.name, msg))
+
class Injector(InjectorWindow):
def __init__(self):
InjectorWindow.__init__(self)