From 9e8b3b4345aae8006fd858bfe1681a05f7e53ca7 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Fri, 1 Jan 2010 22:55:25 +0100 Subject: [PATCH] SCAN UMODES: default list-max to 500, like a global WHO. --- help/opers/scan | 8 ++++---- modules/m_scan.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/help/opers/scan b/help/opers/scan index 5b0f764..f018a69 100644 --- a/help/opers/scan +++ b/help/opers/scan @@ -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. diff --git a/modules/m_scan.c b/modules/m_scan.c index 7f47187..ccc1d02 100644 --- a/modules/m_scan.c +++ b/modules/m_scan.c @@ -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;