diff --git a/include/struct.h b/include/struct.h index 6039173b6..fd58dd3ff 100644 --- a/include/struct.h +++ b/include/struct.h @@ -1547,8 +1547,6 @@ struct liststructprio { #define MODE_KEY 0x2000 #define MODE_LIMIT 0x4000 #define MODE_RGSTR 0x8000 -#define MODE_NOCOLOR 0x40000 -#define MODE_STRIP 0x400000 #define MODE_INVEX 0x8000000 #define is_halfop is_half_op diff --git a/src/modules/m_part.c b/src/modules/m_part.c index 34ec972fc..d1a902460 100644 --- a/src/modules/m_part.c +++ b/src/modules/m_part.c @@ -150,12 +150,7 @@ CMD_FUNC(m_part) /* Banned? No comment allowed ;) */ if (comment && is_banned(sptr, chptr, BANCHK_MSG)) comment = NULL; - /* And other things... */ - if ((chptr->mode.mode & MODE_NOCOLOR) && comment) { - if (strchr((char *)comment, 3) || strchr((char *)comment, 27)) { - comment = NULL; - } - } + /* Same for +m */ if ((chptr->mode.mode & MODE_MODERATED) && comment && !has_voice(sptr, chptr) && !is_halfop(sptr, chptr)) {