mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 14:33:13 +02:00
f23546b27c
The .conv_param() now receives the ban minus the ~own-extban. And it should also return the part minus the ~own-extban. Changes to findmod_by_bantype(): 1) Takes a string now, rather than a single char value, so it is ready for named extbans. 2) Second parameter added so you can easily jump to the remainder. Eg: extban = findmod_by_bantype(b->banstr, &nextbanstr); [..check if extban is non-NULL and then..] b->banstr = nextbanstr;