progval / Limnoria

A robust, full-featured, and user/programmer-friendly Python IRC bot, with many existing plugins.
https://docs.limnoria.net/
Other
622 stars 173 forks source link

RSS feed config variable not removed from the registry cache on feed deletion #1547

Closed TehPeGaSuS closed 6 months ago

TehPeGaSuS commented 1 year ago

I've faced an issue where I've added an RSS feed with: rss add anope20 https://github.com/anope/anope/commits/2.0.atom

Not please with the feed name, I've decided to delete it with: rss remove anope20

Then I proceeded to flush and config reload, to get rid (eventually) of any lingering variables

Then using the same URL I tried to add another RSS feed with: rss add anopegit https://github.com/anope/anope/commits/2.0.atom

Unfortunately I was presented with the following error: Error: I already have a feed with that URL named anope20

To solve this issue I was forced to restart the bot

Bot version: The current (running) version of this Limnoria is 2023.07.18, running on Python 3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]. The newest versions available online are 2023.05.27 (in master), 2023.07.18 (in testing).