callerid: actually the guard should be for source_p
This commit is contained in:
parent
4841ad6197
commit
4abf8eb2e6
|
@ -154,8 +154,8 @@ send_callerid_notice(enum message_type msgtype, struct Client *source_p, struct
|
||||||
static bool
|
static bool
|
||||||
add_callerid_accept_for_source(enum message_type msgtype, struct Client *source_p, struct Client *target_p)
|
add_callerid_accept_for_source(enum message_type msgtype, struct Client *source_p, struct Client *target_p)
|
||||||
{
|
{
|
||||||
/* only do this on target_p's server */
|
/* only do this on source_p's server */
|
||||||
if (!MyClient(target_p))
|
if (!MyClient(source_p))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue