mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 05:43:12 +02:00
Remove MODE_NOCOLOR and MODE_STRIP leftovers.
This commit is contained in:
@@ -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