mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-30 07:36:37 +02:00
a43637d55d
which BANCHK_* events you want to listen, eg BANCHK_JOIN, BANCHK_MSG. You can use BANCHK_ALL to watch on all events. Only BANCHK_TKL is not included there and needs an explicit BANCHK_ALL|BANCHK_TKL. The caller will now take care of BANCHK_* filtering so we won't waste any CPU on calling an is_banned() function that isn't interested at all in the event that we have. Also, no longer require an extban->is_banned function, since some extbans don't use it. This too saves useless calls.