]> jfr.im git - solanum.git/blobdiff - ircd/s_conf.c
supported: add chantypes_update()
[solanum.git] / ircd / s_conf.c
index 74df1cfa1b4285eb2ef3409a569f841d2af5ba3a..f2685bcb1d62f90189ed0d75f755cde2796474d9 100644 (file)
@@ -52,6 +52,7 @@
 #include "hook.h"
 #include "s_assert.h"
 #include "authproc.h"
+#include "supported.h"
 
 struct config_server_hide ConfigServerHide;
 
@@ -918,6 +919,12 @@ validate_conf(void)
                splitmode = 0;
                splitchecking = 0;
        }
+
+       CharAttrs['&'] |= CHANPFX_C;
+       if (ConfigChannel.disable_local_channels)
+               CharAttrs['&'] &= ~CHANPFX_C;
+
+       chantypes_update();
 }
 
 /* add_temp_kline()