um_callerid: increase hook priority to restore +Rg behavior
Before splitting things out into hooks, umode +Rg would only notify the recipient if the sender satisfied +R. This restores that behavior by making the +g hook happen after +R.
This commit is contained in:
parent
e02cc991bb
commit
2a64b1e5b9
1 changed files with 2 additions and 2 deletions
|
@ -341,8 +341,8 @@ handle_client_exit(void *vdata)
|
|||
static mapi_hfn_list_av1 um_callerid_hfnlist[] = {
|
||||
{ "umode_changed", check_umode_change },
|
||||
{ "priv_change", check_priv_change },
|
||||
{ "invite", h_hdl_invite },
|
||||
{ "privmsg_user", h_hdl_privmsg_user },
|
||||
{ "invite", h_hdl_invite, HOOK_HIGH },
|
||||
{ "privmsg_user", h_hdl_privmsg_user, HOOK_HIGH },
|
||||
{ "client_exit", handle_client_exit },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue