Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lua library function to filter network clients based on a function #30

Open
Xe opened this issue Feb 23, 2015 · 0 comments
Open

Add Lua library function to filter network clients based on a function #30

Xe opened this issue Feb 23, 2015 · 0 comments

Comments

@Xe
Copy link
Owner

Xe commented Feb 23, 2015

[]*Client tetra.FilterClients(function (*Client):bool)

FilterClients takes in a function that takes a client, applies a policy filter and 
returns true or false. All clients whose filter returns true will be part of the
result array.
@Xe Xe changed the title Add library function to filter network clients based on a function Add Lua library function to filter network clients based on a function Aug 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant