Should fix both RSS bugs Vee2d2 reported.

This commit is contained in:
Jeremy Fincher 2004-04-22 02:59:15 +00:00
parent b5ac09b4e1
commit d2a80781dc

View File

@ -276,7 +276,9 @@ class RSS(callbacks.Privmsg):
if name not in self.feedNames:
irc.error('That\'s not a valid RSS feed command name.')
return
self.feedNames.remove(name)
delattr(self.__class__, name)
conf.supybot.plugins.RSS.feeds.unregister(name)
irc.replySuccess()
def announce(self, irc, msg, args, channel):