inspircd / inspircd-contrib

Third-party InspIRCd module repository.
https://www.inspircd.org
66 stars 72 forks source link

m_shed_users: Refactor shedding CAP logic #207

Closed linuxdaemon closed 5 years ago

linuxdaemon commented 5 years ago

Enable/disable the CAP when shedding is started and stopped, so CAP REQ will fail when shedding is disabled, and the user will receive a CAP ADD when it is enabled as well as being able to see it is enabled upon joining the network with CAP LS