]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_list.c
mkpasswd: Default to SHA512 instead of inherently insecure DES.
[irc/rqf/shadowircd.git] / modules / m_list.c
index ec2656d24429314b4859f8f38b1dcba0c8b38433..91a16787c6c2a4a16aaaccd9faffb945c16e8b15 100644 (file)
@@ -152,8 +152,8 @@ static int mo_list(struct Client *client_p, struct Client *source_p, int parc, c
                return 0;
        }
 
-       /* XXX rather arbitrary -- jilles */
-       params.users_min = 3;
+       /* Let the user set it */
+       params.users_min = ConfigFileEntry.hide_channel_below_users;
        params.users_max = INT_MAX;
 
        if (parc > 1 && parv[1] != NULL && !IsChannelName(parv[1]))