From db8076342721092ccd24b417a40554b8a9690843 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Fri, 26 Jun 2020 14:23:02 -0600 Subject: [PATCH] callerid: use invite instead of can_invite hook --- modules/um_callerid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/um_callerid.c b/modules/um_callerid.c index 4edc0f67..5aa50438 100644 --- a/modules/um_callerid.c +++ b/modules/um_callerid.c @@ -169,7 +169,7 @@ add_callerid_accept_for_source(enum message_type msgtype, struct Client *source_ } static void -h_can_invite(void *vdata) +h_hdl_invite(void *vdata) { hook_data_channel_approval *data = vdata; struct Client *source_p = data->client; @@ -218,7 +218,7 @@ h_hdl_privmsg_user(void *vdata) } static mapi_hfn_list_av1 um_callerid_hfnlist[] = { - { "can_invite", h_can_invite }, + { "invite", h_hdl_invite }, { "privmsg_user", h_hdl_privmsg_user }, { NULL, NULL } };