extensions/chantype_dummy: ^ is a valid nickchar, but > isn't

This commit is contained in:
William Pitcock 2016-09-16 14:12:29 -05:00
parent 1e706d5ae2
commit 5a12d0b1e8

View file

@ -1,4 +1,4 @@
/* dummy channel type (^): just a global channel type */
/* dummy channel type (>): just a global channel type */
#include "stdinc.h"
#include "modules.h"
@ -6,7 +6,7 @@
#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);
@ -16,7 +16,7 @@ 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;
@ -25,6 +25,6 @@ _modinit(void)
static void
_moddeinit(void)
{
CharAttrs['^'] &= ~CHANPFX_C;
CharAttrs['>'] &= ~CHANPFX_C;
chantypes_update();
}