From 4be5d42dc542b5782a8be695494b95a7bacfd851 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 2 Jun 2003 06:55:51 +0000 Subject: [PATCH] Fixed Http.deepthought to queue thoughts and to import structures for such queueing. --- plugins/Http.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/Http.py b/plugins/Http.py index f136a8551..7d0f462e6 100644 --- a/plugins/Http.py +++ b/plugins/Http.py @@ -44,6 +44,7 @@ import utils import debug import privmsgs import callbacks +import structures class FreshmeatException(Exception): pass @@ -68,6 +69,7 @@ class Http(callbacks.Privmsg): s = fd.read() thought = s.split('
')[2] thought = ' '.join(thought.split()) + self.deepthoughtq.enqueue(thought) irc.reply(msg, thought) _titleRe = re.compile(r'(.*)')