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

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

Angrywolf modules

Post by rcschaff » Sun Jan 15, 2017 5:09 pm

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?


UnrealIRCd head coder
Posts: 1957
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl

Re: Angrywolf modules

Post by Syzop » Mon Jan 16, 2017 9:32 am

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

Code: Select all

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