From 1891a468946d240b4048bb34d0412749999a724e Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 29 Jul 2003 12:48:54 +0000 Subject: [PATCH] Fixed bug in deepthought. --- plugins/Http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Http.py b/plugins/Http.py index 9f36ee5fa..c56045898 100644 --- a/plugins/Http.py +++ b/plugins/Http.py @@ -66,7 +66,7 @@ class Http(callbacks.Privmsg): thought = ' ' * 512 now = time.time() while self.deepthoughtq and now - self.deepthoughtq[0][0] > 86400: - s = self.deepthoughtq.dequeue() + s = self.deepthoughtq.dequeue()[1] self.deepthoughts.remove(s) while len(thought) > 430 or thought in self.deepthoughts: fd = urllib2.urlopen(url)