From 3a48406b554336a5af4f97bedfa6265c654dcb96 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 15 Feb 2015 17:40:20 -0600 Subject: [PATCH] cap: fix compile --- modules/m_cap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/m_cap.c b/modules/m_cap.c index a17016df..5004c217 100644 --- a/modules/m_cap.c +++ b/modules/m_cap.c @@ -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;