callerid: has_common_channels(): fix return value

This commit is contained in:
Ariadne Conill 2020-06-27 16:01:58 +00:00
parent 4d07382c2d
commit 5d4cce6cc0

View file

@ -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