Author: LordLuke <lordluke@undernet.org>
[ircu2.10.12-pk.git] / ircd / ircd_features.c
index b6a4d0a235c40b541528b6b3afe1d33268967f72..d9fb2d0c7e50aa020a42e6ca4a4da1e614cf84bd 100644 (file)
@@ -19,6 +19,7 @@
  * $Id$
  */
 #include "config.h"
+
 #include "ircd_features.h"
 #include "channel.h"   /* list_set_default */
 #include "class.h"
@@ -239,6 +240,7 @@ static struct FeatureDesc {
   F_I(CLIENT_FLOOD, 0, 1024, 0),
   F_I(SERVER_PORT, FEAT_OPER, 4400, 0),
   F_B(NODEFAULTMOTD, 0, 1, 0),
+  F_S(MOTD_BANNER, FEAT_NULL, 0, 0),
   F_B(KILL_IPMISMATCH, FEAT_OPER, 0, 0),
   F_B(IDLE_FROM_MSG, 0, 1, 0),
   F_B(HUB, 0, 0, 0),
@@ -247,6 +249,8 @@ static struct FeatureDesc {
   F_N(RANDOM_SEED, FEAT_NODISP, random_seed_set, 0, 0, 0, 0, 0, 0),
   F_S(DEFAULT_LIST_PARAM, FEAT_NULL, 0, list_set_default),
   F_I(NICKNAMEHISTORYLENGTH, 0, 800, whowas_realloc),
+  F_B(HOST_HIDING, 0, 0, 0),
+  F_S(HIDDEN_HOST, FEAT_CASE, "users.undernet.org", 0),
 
   /* features that probably should not be touched */
   F_I(KILLCHASETIMELIMIT, 0, 30, 0),
@@ -262,6 +266,7 @@ static struct FeatureDesc {
   F_I(PINGFREQUENCY, 0, 120, init_class),
   F_I(CONNECTFREQUENCY, 0, 600, init_class),
   F_I(DEFAULTMAXSENDQLENGTH, 0, 40000, init_class),
+  F_I(GLINEMAXUSERCOUNT, 0, 20, 0),
 
   /* Some misc. default paths */
   F_S(MPATH, FEAT_CASE | FEAT_MYOPER, "ircd.motd", motd_init),
@@ -272,6 +277,7 @@ static struct FeatureDesc {
   F_B(VIRTUAL_HOST, 0, 0, 0),
   F_I(TOS_SERVER, 0, 0x08, 0),
   F_I(TOS_CLIENT, 0, 0x08, 0),
+  F_I(POLLS_PER_LOOP, 0, 200, 0),
 
   /* features that affect all operators */
   F_B(CRYPT_OPER_PASSWORD, FEAT_MYOPER | FEAT_READ, 1, 0),
@@ -283,7 +289,8 @@ static struct FeatureDesc {
   F_B(SHOW_ALL_INVISIBLE_USERS, 0, 1, 0),
   F_B(UNLIMIT_OPER_QUERY, 0, 0, 0),
   F_B(LOCAL_KILL_ONLY, 0, 0, 0),
-  F_B(CONFIG_OPERCMDS, 0, 1, 0), /* XXX change default before release */
+  F_B(CONFIG_OPERCMDS, 0, 0, 0),
+  F_B(LIST_CHAN, 0, 1, 0),
 
   /* features that affect global opers on this server */
   F_B(OPER_KILL, 0, 1, 0),
@@ -298,8 +305,9 @@ static struct FeatureDesc {
   F_B(OPER_LOPMODE, 0, 1, 0),
   F_B(OPER_BADCHAN, 0, 0, 0),
   F_B(OPER_LBADCHAN, 0, 0, 0),
-  F_B(OPER_SET, 0, 1, 0),
+  F_B(OPER_SET, 0, 0, 0),
   F_B(OPERS_SEE_IN_SECRET_CHANNELS, 0, 1, 0),
+  F_B(OPER_WIDE_GLINE, 0, 1, 0),
 
   /* features that affect local opers on this server */
   F_B(LOCOP_KILL, 0, 1, 0),
@@ -312,6 +320,7 @@ static struct FeatureDesc {
   F_B(LOCOP_LBADCHAN, 0, 0, 0),
   F_B(LOCOP_SET, 0, 0, 0),
   F_B(LOCOP_SEE_IN_SECRET_CHANNELS, 0, 0, 0),
+  F_B(LOCOP_WIDE_GLINE, 0, 0, 0),
 
 #undef F_S
 #undef F_B