hi,
i want to write my module, and how to traversed the all users?
for(?????){
acptr=??
}
thx~!
How to traversed all users?
Moderators: Gottem, Supporters
Re: How to traversed all users?
Sorry, can you describe your module a bit more?
Re: How to traversed all users?
You could take a look at https://www.vulnscan.org/UnrealIRCd/mod ... est.tar.gz
(on UnrealIRCd 4)
Code: Select all
list_for_each_entry(acptr, &client_list, client_node)
{
/* List only real IRC Operators */
if (IsULine(acptr) || !IsPerson(acptr) || !IsOper(acptr))
continue;
....
-
- Posts: 14
- Joined: Mon Dec 21, 2015 6:43 am
Re: How to traversed all users?
thx, very fine.