mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-17 14:10:41 +01:00
Should fix both RSS bugs Vee2d2 reported.
This commit is contained in:
parent
b5ac09b4e1
commit
d2a80781dc
@ -276,7 +276,9 @@ class RSS(callbacks.Privmsg):
|
|||||||
if name not in self.feedNames:
|
if name not in self.feedNames:
|
||||||
irc.error('That\'s not a valid RSS feed command name.')
|
irc.error('That\'s not a valid RSS feed command name.')
|
||||||
return
|
return
|
||||||
|
self.feedNames.remove(name)
|
||||||
delattr(self.__class__, name)
|
delattr(self.__class__, name)
|
||||||
|
conf.supybot.plugins.RSS.feeds.unregister(name)
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
|
|
||||||
def announce(self, irc, msg, args, channel):
|
def announce(self, irc, msg, args, channel):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user