mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
RSS: Use del instead of pop.
This commit is contained in:
parent
7fdb72ab4f
commit
34f5be5252
@ -307,7 +307,7 @@ class RSS(callbacks.Plugin):
|
||||
if name not in self.feedNames:
|
||||
irc.error('That\'s not a valid RSS feed command name.')
|
||||
return
|
||||
self.feedNames.pop(name)
|
||||
del self.feedNames[name]
|
||||
conf.supybot.plugins.RSS.feeds().remove(name)
|
||||
conf.supybot.plugins.RSS.feeds.unregister(name)
|
||||
irc.replySuccess()
|
||||
|
Loading…
Reference in New Issue
Block a user