Scalable IRCv3.2 server for large, community-oriented networks
GNU General Public License v2.0
231
stars
102
forks
source link
modules/m_sasl: Also check if the server the SASL agent is on has split from the network, to properly advertise the loss of the "sasl" cap for clients that support cap-notify. (Charybdis 4.1.x master) #250
Previously, it would only check if the SASL agent has quit, which normally only occurs if the SASL agent is unloaded. In Atheme and ChatServices, if services are restarted, the services server splits from the network. This means removal of the "sasl" cap never gets advertised to clients that support cap-notify, despite the loss of the capability.
This pull request updates Charybdis 4.1.x (master).
Previously, it would only check if the SASL agent has quit, which normally only occurs if the SASL agent is unloaded. In Atheme and ChatServices, if services are restarted, the services server splits from the network. This means removal of the "sasl" cap never gets advertised to clients that support cap-notify, despite the loss of the capability.
This pull request updates Charybdis 4.1.x (master).