Page 1 of 1

Angrywolf modules

Posted: Sun Jan 15, 2017 5:09 pm
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?


Re: Angrywolf modules

Posted: Mon Jan 16, 2017 9:32 am
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)
{ your stuff here...