diff options
Diffstat (limited to 'omegle/icqChatroomBuddy.py')
-rw-r--r-- | omegle/icqChatroomBuddy.py | 5 |
1 files changed, 3 insertions, 2 deletions
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() |