From 9fc737865ab67fa1302cc1f49f3f563ef057782b Mon Sep 17 00:00:00 2001 From: yvesf Date: Thu, 14 Jan 2010 23:03:06 +0000 Subject: save git-svn-id: http://xapek.org/svn/common/omegle@1538 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd --- omegle/icqChatroomBuddy.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'omegle/icqChatroomBuddy.py') diff --git a/omegle/icqChatroomBuddy.py b/omegle/icqChatroomBuddy.py index a235334..be92c58 100644 --- a/omegle/icqChatroomBuddy.py +++ b/omegle/icqChatroomBuddy.py @@ -8,7 +8,7 @@ from twisted.internet import reactor, protocol from twisted.python import log from omegle.icqBuddy import ICQBuddy -from icq import ReconnectOscarFactory +from icq import ReconnectingOSCARLoginFactory ICQ_UIN = '446323989' ICQ_PASSWORD = 'gagaga' @@ -29,6 +29,7 @@ if __name__ == '__main__': logging.basicConfig(level=logging.INFO) log.startLogging(sys.stdout) - factory = ReconnectOscarFactory(OmegleICQChatroomBuddy, ICQ_UIN,ICQ_PASSWORD,icq=1) + factory = ReconnectingOSCARLoginFactory(ICQ_UIN,ICQ_PASSWORD) + factory.BOSClass = OmegleICQChatroomBuddy reactor.connectTCP('login.icq.com', 5238, factory) reactor.run() -- cgit v1.2.1