callerid: actually the guard should be for source_p
This commit is contained in:
parent
4841ad6197
commit
4abf8eb2e6
1 changed files with 2 additions and 2 deletions
|
@ -154,8 +154,8 @@ send_callerid_notice(enum message_type msgtype, struct Client *source_p, struct
|
|||
static bool
|
||||
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 */
|
||||
if (!MyClient(target_p))
|
||||
/* only do this on source_p's server */
|
||||
if (!MyClient(source_p))
|
||||
return true;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue