cap: fix compile

This commit is contained in:
William Pitcock 2015-02-15 17:40:20 -06:00
parent ef3ab8e3a5
commit 3a48406b55

View file

@ -404,7 +404,7 @@ cap_req(struct Client *source_p, const char *arg)
}
else
{
if(cap->cap_required_serv && !(capadd & cap->cap_required_serv == cap->cap_required_serv || IsCapable(source_p, cap->required_serv)))
if(cap->cap_required_serv && !((capadd & cap->cap_required_serv) == cap->cap_required_serv || IsCapable(source_p, cap->cap_required_serv)))
{
finished = 0;
break;