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 5c3794b9f0
commit 9e8b3b4345
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
extends the search to the entire network instead of local
users only. LIST-MAX limits the listing of matching users to
the given amount. MASK causes only users matching the given
nick!user@host mask to be selected. Only the displayed host
is considered, not the IP address or real host behind
dynamic spoofs.
the given amount instead of the default 500. MASK causes
only users matching the given nick!user@host mask to be
selected. Only the displayed host is considered, not the
IP address or real host behind dynamic spoofs.
Network searches where a listing is given are operspy
commands.

View File

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