]> jfr.im git - irc/freenode/solanum.git/commitdiff
SCAN UMODES: default list-max to 500, like a global WHO.
authorJilles Tjoelker <redacted>
Fri, 1 Jan 2010 21:55:25 +0000 (22:55 +0100)
committerJilles Tjoelker <redacted>
Fri, 1 Jan 2010 21:55:25 +0000 (22:55 +0100)
help/opers/scan
modules/m_scan.c

index 5b0f764fd2040d3d275bdf6a8d9fd5f3a45cfbf6..f018a6936777e2201d5e4a40b1f0890fc6c919b9 100644 (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.
index 7f4718761fc44215470e101c250c4d2246a61cd9..ccc1d024f2629aafa54f6c26ff3bd4440b25f949 100644 (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;