regonlymsg: allow messages through if target is not a local client

This commit is contained in:
Ariadne Conill 2020-06-26 19:46:57 +00:00
parent 90e99760a0
commit 4436a7ca73

View file

@ -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;