SCAN UMODES: default list-max to 500, like a global WHO.

This commit is contained in:
Jilles Tjoelker 2010-01-01 22:55:25 +01:00
parent 22df9f8989
commit 0b5cf476f5
2 changed files with 5 additions and 5 deletions

View file

@ -7,10 +7,10 @@ NO-LIST disables the listing of matching users and only
shows the count. LIST enables the listing (default). GLOBAL shows the count. LIST enables the listing (default). GLOBAL
extends the search to the entire network instead of local extends the search to the entire network instead of local
users only. LIST-MAX limits the listing of matching users to users only. LIST-MAX limits the listing of matching users to
the given amount. MASK causes only users matching the given the given amount instead of the default 500. MASK causes
nick!user@host mask to be selected. Only the displayed host only users matching the given nick!user@host mask to be
is considered, not the IP address or real host behind selected. Only the displayed host is considered, not the
dynamic spoofs. IP address or real host behind dynamic spoofs.
Network searches where a listing is given are operspy Network searches where a listing is given are operspy
commands. commands.

View file

@ -114,7 +114,7 @@ scan_umodes(struct Client *client_p, struct Client *source_p, int parc,
int what = MODE_ADD; int what = MODE_ADD;
int mode; int mode;
int list_users = YES; int list_users = YES;
int list_max = 0; int list_max = 500;
int list_count = 0, count = 0; int list_count = 0, count = 0;
const char *mask = NULL; const char *mask = NULL;
const char *c; const char *c;