CIRCChannel.findUsers Member
Syntax
object.findUsers(mask);
Arguments
Argument | Summary |
---|---|
mask |
Returns
Remarks
See Also
Source Code
function chan_findUsers(mask)
{
var ary = [];
var unchecked = 0;
mask = getHostmaskParts(mask);
for (var nick in this.users)
{
var user = this.users[nick];
if (!user.host || !user.name)
unchecked++;
else if (hostmaskMatches(user, mask))
ary.push(user);
}
return { users: ary, unchecked: unchecked };
}