um_regonlymsg: prevent unregistered users from NOTICEing +R users too
This commit is contained in:
parent
fdd8cad93f
commit
b951e21b5d
1 changed files with 2 additions and 2 deletions
|
@ -169,13 +169,13 @@ h_hdl_privmsg_user(void *vdata)
|
|||
if (allow_message(source_p, target_p))
|
||||
return;
|
||||
|
||||
data->approved = ERR_NONONREG;
|
||||
|
||||
if (data->msgtype == MESSAGE_TYPE_NOTICE)
|
||||
return;
|
||||
|
||||
sendto_one_numeric(source_p, ERR_NONONREG, form_str(ERR_NONONREG),
|
||||
target_p->name);
|
||||
|
||||
data->approved = ERR_NONONREG;
|
||||
}
|
||||
|
||||
static mapi_hfn_list_av1 um_regonlymsg_hfnlist[] = {
|
||||
|
|
Loading…
Reference in a new issue