]> jfr.im git - solanum.git/blobdiff - extensions/chantype_dummy.c
Remove Windows support
[solanum.git] / extensions / chantype_dummy.c
index b3c284705291afda9f814c79e6397181c924d791..0531c6d35e22f8408343d2bdba99ea16f428a052 100644 (file)
@@ -1,11 +1,12 @@
-/* dummy channel type (^): just a global channel type */
+/* dummy channel type (>): just a global channel type */
 
 #include "stdinc.h"
 #include "modules.h"
 #include "client.h"
 #include "ircd.h"
+#include "supported.h"
 
-static const char chantype_desc[] = "Secondary global channel type (^)";
+static const char chantype_desc[] = "Secondary global channel type (>)";
 
 static int _modinit(void);
 static void _moddeinit(void);
@@ -15,7 +16,8 @@ DECLARE_MODULE_AV2(chantype_dummy, _modinit, _moddeinit, NULL, NULL, NULL, NULL,
 static int
 _modinit(void)
 {
-       CharAttrs['^'] |= CHANPFX_C;
+       CharAttrs['>'] |= CHANPFX_C;
+       chantypes_update();
 
        return 0;
 }
@@ -23,5 +25,6 @@ _modinit(void)
 static void
 _moddeinit(void)
 {
-       CharAttrs['^'] &= ~CHANPFX_C;
+       CharAttrs['>'] &= ~CHANPFX_C;
+       chantypes_update();
 }