From 0194abff28abf01e12fb2bcf9575bc766e551fec Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 9 Apr 2004 15:43:51 +0000 Subject: [PATCH] I may finally have squished the most obvious bugs. --- plugins/RSS.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/RSS.py b/plugins/RSS.py index 0bd8496c9..5c5780d7f 100644 --- a/plugins/RSS.py +++ b/plugins/RSS.py @@ -120,8 +120,8 @@ class RSS(callbacks.Privmsg): else: url = name if self.willGetNewFeed(url): - newFeeds.setdefault(url, []).append(channel) - for (url, channels) in newFeeds.iteritems(): + newFeeds.setdefault((url, name), []).append(channel) + for ((url, name), channels) in newFeeds.iteritems(): # We check if we can acquire the lock right here because if we # don't, we'll possibly end up spawning a lot of threads to get # the feed, because this thread may run for a number of bytecodes