johnmaguire / Cardinal

A Python IRC bot, designed to make adding functionality quick and simple. (est. 2013)
MIT License
100 stars 38 forks source link

Race condition with urls.detection event - plugins loaded before urls don't register #206

Open johnmaguire opened 6 months ago

johnmaguire commented 6 months ago

For example, youtube, github, etc. depend on urls.detection event. I assume their callback is removed when urls is unloaded. Ideally, we continue to track this and re-register it when the event becomes available again.

(This can occur during reloads, or initial startup.)