diff options
author | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-12-12 23:38:51 +0000 |
---|---|---|
committer | yvesf <yvesf@d0e8fea9-7529-0410-93fb-d39fd5b9c1dd> | 2009-12-12 23:38:51 +0000 |
commit | 99681ec568fb057cabd12c24813ce71e0d7fe271 (patch) | |
tree | 96afc19a590998884cc53813dfbca0e7a850929f /omegle/icqChatroomBuddy.py | |
parent | fa478701c643b22ad9337db2fefd28aa1113b37d (diff) | |
download | omegle-99681ec568fb057cabd12c24813ce71e0d7fe271.tar.gz omegle-99681ec568fb057cabd12c24813ce71e0d7fe271.zip |
clean
git-svn-id: http://xapek.org/svn/common/omegle@1484 d0e8fea9-7529-0410-93fb-d39fd5b9c1dd
Diffstat (limited to 'omegle/icqChatroomBuddy.py')
-rw-r--r-- | omegle/icqChatroomBuddy.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/omegle/icqChatroomBuddy.py b/omegle/icqChatroomBuddy.py index 63689f1..a235334 100644 --- a/omegle/icqChatroomBuddy.py +++ b/omegle/icqChatroomBuddy.py @@ -7,20 +7,21 @@ from twisted.words.protocols import oscar from twisted.internet import reactor, protocol from twisted.python import log -from omegle.icqBuddy import OmegleICQ +from omegle.icqBuddy import ICQBuddy from icq import ReconnectOscarFactory ICQ_UIN = '446323989' ICQ_PASSWORD = 'gagaga' ICQ_CHATROOM_UID = '370496181' -class OmegleICQChatroomBuddy( OmegleICQ ): - def gotBuddyList( self, buddylist ): - OmegleICQ.gotBuddyList( self, buddylist ) - self.sendMessage(ICQ_CHATROOM_UID, "/join OMEGLE") +class OmegleICQChatroomBuddy( ICQBuddy ): + def initDone( self ): + ICQBuddy.initDone(self) + reactor.callLater(5.0, self.sendMessage,ICQ_CHATROOM_UID, "/join OMEGLE") + def shutdown( self ): self.sendMessage(ICQ_CHATROOM_UID, "/leave") - OmegleICQ.shutdown(self) + ICQBuddy.shutdown(self) if __name__ == '__main__': |