How to traversed all users?

These are old archives. They are kept for historic purposes only.

Moderators: Gottem, Supporters

Post Reply
taobataoma
Posts: 14
Joined: Mon Dec 21, 2015 6:43 am

How to traversed all users?

Post by taobataoma »

hi,

i want to write my module, and how to traversed the all users?

for(?????){
acptr=??
}

thx~!
dboyz
Posts: 68
Joined: Tue Jun 14, 2011 6:36 am

Re: How to traversed all users?

Post by dboyz »

Sorry, can you describe your module a bit more?
Syzop
UnrealIRCd head coder
Posts: 1961
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: How to traversed all users?

Post by Syzop »

You could take a look at https://www.vulnscan.org/UnrealIRCd/mod ... est.tar.gz

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;
....
(on UnrealIRCd 4)
taobataoma
Posts: 14
Joined: Mon Dec 21, 2015 6:43 am

Re: How to traversed all users?

Post by taobataoma »

thx, very fine.
Post Reply