0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-30 17:34:04 +01:00

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;