]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_scan.c
Allow /ojoin !#channel/%#channel, if admin/halfop are enabled.
[irc/rqf/shadowircd.git] / modules / m_scan.c
index bb90d559d2d43e9be43765e7c67a0768cf52134a..ccc1d024f2629aafa54f6c26ff3bd4440b25f949 100644 (file)
@@ -79,7 +79,6 @@ static const char *spoofed_sockhost = "0";
 
 /*
  * m_scan
- *      parv[0] = sender prefix
  *      parv[1] = options [or target]
  *     parv[2] = [target]
  */
@@ -115,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;