mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-03 04:33:13 +02:00
Remove MODE_NOCOLOR and MODE_STRIP leftovers.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user