regonlymsg: allow messages through if target is not a local client
This commit is contained in:
parent
90e99760a0
commit
4436a7ca73
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ static const char um_regonlymsg_desc[] =
|
|||
static bool
|
||||
allow_message(struct Client *source_p, struct Client *target_p)
|
||||
{
|
||||
if (!MyClient(target_p))
|
||||
return true;
|
||||
|
||||
if (!IsSetRegOnlyMsg(target_p))
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Reference in a new issue