m_message: use same behaviour for +R users as +g users (closes #96)
This commit is contained in:
parent
677d3cb1a3
commit
a7433e330a
1 changed files with 3 additions and 1 deletions
|
@ -727,7 +727,9 @@ msg_client(enum message_type msgtype,
|
|||
* as a way to taunt users, e.g. harass them and hide behind +g
|
||||
* as a way of griefing. --nenolod
|
||||
*/
|
||||
if(msgtype != MESSAGE_TYPE_NOTICE && IsSetCallerId(source_p) &&
|
||||
if(msgtype != MESSAGE_TYPE_NOTICE &&
|
||||
(IsSetCallerId(source_p) ||
|
||||
(IsSetRegOnlyMsg(source_p) && !target_p->user->suser[0])) &&
|
||||
!accept_message(target_p, source_p) &&
|
||||
!IsOper(target_p))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue