From d41d8ed0c9ccde3f38d9c1ad96fb86fe3ef57299 Mon Sep 17 00:00:00 2001 From: "Brian S. Stephan" Date: Sat, 14 Jul 2012 09:54:02 -0500 Subject: [PATCH] Twitter: force timeline check to wait 5 minutes (for channel joins and antispam) --- modules/Twitter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/Twitter.py b/modules/Twitter.py index 32adfeb..e384a3d 100644 --- a/modules/Twitter.py +++ b/modules/Twitter.py @@ -65,7 +65,8 @@ class Twitter(Module): self.client = oauth.Client(self.consumer) # settings - self.next_timeline_check = 0 + # force timeline check to wait 5 minutes (for channel joins and antispam) + self.next_timeline_check = time.time() + 300 # try getting the stored auth tokens and logging in (oauth_token, oauth_token_secret) = self._retrieve_stored_auth_tokens()