extensions/chantype_dummy: cleanups

This commit is contained in:
William Pitcock 2016-09-16 14:07:54 -05:00
parent 1af4eff6f6
commit 1cfc0cd9f2

View file

@ -4,6 +4,7 @@
#include "modules.h" #include "modules.h"
#include "client.h" #include "client.h"
#include "ircd.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 (^)";
@ -16,6 +17,7 @@ static int
_modinit(void) _modinit(void)
{ {
CharAttrs['^'] |= CHANPFX_C; CharAttrs['^'] |= CHANPFX_C;
chantypes_update();
return 0; return 0;
} }
@ -24,4 +26,5 @@ static void
_moddeinit(void) _moddeinit(void)
{ {
CharAttrs['^'] &= ~CHANPFX_C; CharAttrs['^'] &= ~CHANPFX_C;
chantypes_update();
} }