Bump PATCHLEVEL for u2.10.12.pre12 development.
[ircu2.10.12-pk.git] / ircd / ircd_features.c
index fad403a55eddf3189fe5531950986d0cf492946c..b54fae827c38e948f0f1162cca1eebcbed9d7622 100644 (file)
@@ -312,6 +312,7 @@ static struct FeatureDesc {
   F_B(ZANNELS, 0, 1, 0),
   F_B(LOCAL_CHANNELS, 0, 1, 0),
   F_B(TOPIC_BURST, 0, 0, 0),
+  F_B(DISABLE_GLINES, 0, 0, 0),
 
   /* features that probably should not be touched */
   F_I(KILLCHASETIMELIMIT, 0, 30, 0),
@@ -589,6 +590,9 @@ feature_set(struct Client* from, const char* const* fields, int count)
 
     if (change && feat->notify) /* call change notify function */
       (*feat->notify)();
+
+    if (from)
+      return feature_get(from, fields, count);
   }
 
   return 0;
@@ -652,6 +656,9 @@ feature_reset(struct Client* from, const char* const* fields, int count)
 
     if (change && feat->notify) /* call change notify function */
       (*feat->notify)();
+
+    if (from)
+      return feature_get(from, fields, count);
   }
 
   return 0;