charybdis-ircd / charybdis

Scalable IRCv3.2 server for large, community-oriented networks
GNU General Public License v2.0
231 stars 102 forks source link

reject: Don't reject for expired K-lines #304

Closed edk0 closed 4 years ago

edk0 commented 4 years ago

Since #298, rejects have a pointer to the K-line that caused them. We can use that to stop applying rejects if their corresponding K-line is no longer in effect.

Note that we could check if the K-line's expiry timer has run out here, but we don't, since the K-line is going to remain operational until it's visited by the ban expiry stuff.