charybdis-ircd / charybdis

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

Don't match iline-spoofed IPs for channel bans #313

Closed edk0 closed 4 years ago

edk0 commented 4 years ago

Doing this made me notice just how wildly inefficient $m is. I think extban functions should get a context struct parameter where we can send the strings, instead of generating them from scratch for each invocation, but that'll be another PR.