diff options
Diffstat (limited to 'icqRoombot.tac')
-rw-r--r-- | icqRoombot.tac | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/icqRoombot.tac b/icqRoombot.tac index 2f6fba1..a883d76 100644 --- a/icqRoombot.tac +++ b/icqRoombot.tac @@ -1,15 +1,17 @@ #!/usr/bin/env twistd # vim: set ft=python sw=4 et syntax=python: -from omegle.icq import ReconnectOscarFactory +from omegle.icq import ReconnectingOSCARLoginFactory from omegle.icqRoombot import ICQRoombot from twisted.application import internet, service -uin, password = ('370496181', 'megahal123') +#uin, password = ('370496181', 'megahal123') +uin, password = ('566193419', 'gagagaga') host, port = ('login.oscar.aol.com', 5190) -factory = ReconnectOscarFactory(ICQRoombot, uin, password, icq=1) +f = ReconnectingOSCARLoginFactory(uin, password) +f.BOSClass = ICQRoombot application = service.Application('icqRoombot') -service = internet.TCPClient(host, port, factory) +service = internet.TCPClient(host, port, f) service.setServiceParent(application) |