Fixed enqueuing in deepthought.

This commit is contained in:
Jeremy Fincher 2003-06-03 05:24:21 +00:00
parent ee805e2860
commit 82bb295b20

View File

@ -70,7 +70,7 @@ class Http(callbacks.Privmsg):
s = fd.read() s = fd.read()
thought = s.split('<br>')[2] thought = s.split('<br>')[2]
thought = ' '.join(thought.split()) thought = ' '.join(thought.split())
self.deepthoughtq.enqueue(thought) self.deepthoughtq.enqueue((now, thought))
irc.reply(msg, thought) irc.reply(msg, thought)
_titleRe = re.compile(r'<title>(.*)</title>') _titleRe = re.compile(r'<title>(.*)</title>')