From 791c5a3c70985c309136c3fb33c992779e7cf935 Mon Sep 17 00:00:00 2001 From: yvesf Date: Tue, 9 Jun 2009 18:28:16 +0000 Subject: ibla git-svn-id: http://xapek.org/svn/common/omegle@1091 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- injector.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'injector.py') 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) -- cgit v1.2.1