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