/* check to ensure any "required" caps are set. --nenolod */
/* XXX: show required CAPABs. */
required_mask = capability_index_get_required(serv_capindex);
- if (!(client_p->localClient->caps & required_mask))
+ if (required_mask && !(client_p->localClient->caps & required_mask))
{
exit_client(client_p, client_p, client_p, "Missing required CAPABs");