Fix for the new refactoring in callbacks.

This commit is contained in:
Jeremy Fincher 2005-02-19 08:43:37 +00:00
parent aff8f8636e
commit ee7ca1668c

View File

@ -86,9 +86,9 @@ class RSS(callbacks.Plugin):
feeds = self.registryValue('announce', channel) feeds = self.registryValue('announce', channel)
for name in feeds: for name in feeds:
commandName = callbacks.canonicalName(name) commandName = callbacks.canonicalName(name)
if self.isCommand(commandName): if self.isCommandMethod(commandName):
name = commandName name = commandName
url = self.getCommandMethod(name).url url = getattr(self, name).url
else: else:
url = name url = name
if self.willGetNewFeed(url): if self.willGetNewFeed(url):