]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_info.c
Add hide_channel_below_users value to m_info.
[irc/rqf/shadowircd.git] / modules / m_info.c
index dbc013ab76d6107c019e95bd0fbf2e3b323ca3e4..1491180b2cd7d05d66efd7a5fef06787e39afda7 100644 (file)
@@ -21,7 +21,6 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
  *  USA
  *
- *  $Id: m_info.c 3396 2007-04-05 00:38:52Z jilles $
  */
 
 #include "stdinc.h"
@@ -151,6 +150,12 @@ static struct InfoStruct info_table[] = {
                &ConfigFileEntry.default_floodcount,
                "Startup value of FLOODCOUNT",
        },
+       {
+               "hide_channel_below_users",
+               OUTPUT_DECIMAL,
+               &ConfigFileEntry.hide_channel_below_users,
+               "Hide channels below this many users in standard /LIST output",
+       },
        {
                "default_adminstring",
                OUTPUT_STRING,
@@ -644,12 +649,6 @@ static struct InfoStruct info_table[] = {
                &ConfigChannel.use_invex,
                "Enable chanmode +I (invite exceptions)",
        },
-       {
-               "use_forward",
-               OUTPUT_BOOLEAN_YN,
-               &ConfigChannel.use_forward,
-               "Enable chanmode +f (channel forwarding)",
-       },
        {
                "use_knock",
                OUTPUT_BOOLEAN_YN,