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