summaryrefslogtreecommitdiff
path: root/omegle/icqChatroomBuddy.py
diff options
context:
space:
mode:
authoryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2010-01-14 23:03:06 +0000
committeryvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd>2010-01-14 23:03:06 +0000
commit9fc737865ab67fa1302cc1f49f3f563ef057782b (patch)
tree2581ca1d49b21a07e7a6af0b971d44bb27859e46 /omegle/icqChatroomBuddy.py
parente76492815e75ead949a424c3fec73ac19c739f0a (diff)
downloadomegle-9fc737865ab67fa1302cc1f49f3f563ef057782b.tar.gz
omegle-9fc737865ab67fa1302cc1f49f3f563ef057782b.zip
git-svn-id: http://xapek.org/svn/common/omegle@1538 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'omegle/icqChatroomBuddy.py')
-rw-r--r--omegle/icqChatroomBuddy.py5
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()