[ircd-ratbox] UNGLINE patch

Dustin Marquess jailbird at alcatraz.fdf.net
Thu Jun 10 16:08:17 EDT 2004


You're absolutely right.  I forgot I modified it months ago to remove
all matching GLINEs, since at the time that made more sense to me than
to just remove the first one that it finds.

I understand completely about not offering support.  It was my fault
entirely that in the rush around here that I missed the return in the
stock code.

Sorry for jumping the gun.


>DLINK_FOREACH_SAFE() only needs to be used if you continue to iterate
>over the list having modified it.  With UNGLINE once we've found a match
>we immediately return, so ptr being mangled doesnt matter as its no
>longer used.

>Firstly, upgrade to the latest release (1.5-1) and see if the problem
>still exists there.  If it does, follow the instructions in RELNOTES on
>how to get a backtrace.  Note however if your ircd is modified in *ANY* 
>way (whether you think it affects glines or not), youre on your own, as we 
>dont offer support for modified daemons.
>Lee H

More information about the ircd-ratbox mailing list