extensions/chantype_dummy: cleanups
This commit is contained in:
parent
1af4eff6f6
commit
1cfc0cd9f2
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue