callerid: has_common_channels(): fix return value
This commit is contained in:
parent
4d07382c2d
commit
5d4cce6cc0
1 changed files with 2 additions and 2 deletions
|
@ -95,10 +95,10 @@ has_common_channel(struct Client *source_p, struct Client *target_p)
|
|||
{
|
||||
struct membership *msptr = ptr->data;
|
||||
if (IsMember(target_p, msptr->chptr))
|
||||
return msptr->chptr;
|
||||
return true;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
Loading…
Reference in a new issue