Angrywolf modules

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Locked
rcschaff
Posts: 53
Joined: Sun Jan 15, 2017 5:06 pm

Angrywolf modules

Post by rcschaff »

I've noticed angrywolf isn't upgrading any of his modules, so I'm trying to see if I can update them myself. One of the many things that I notice he uses in most of his modules, is the array local[]. This seemed to be a constant in 3.2 but was removed in 4.0. IS there a replacement?

Thanks
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Angrywolf modules

Post by Syzop »

You can use the following construct to loop through all local clients:

Code: Select all

list_for_each_entry(acptr, &lclient_list, lclient_node)
{
    ...do your stuff here...
}
Locked