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