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
Angrywolf modules
Moderator: Supporters
Re: Angrywolf modules
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...
}