From 58c70ca93cd9c6a23903070a91fcf9fd1da9396a Mon Sep 17 00:00:00 2001 From: csoler Date: Fri, 21 Aug 2015 20:46:34 -0400 Subject: [PATCH] moved [not] operator inside parenthesis. Does not change anything except improving readability --- libretroshare/src/gxs/rsgenexchange.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/gxs/rsgenexchange.cc b/libretroshare/src/gxs/rsgenexchange.cc index 6816d9476..f584e81af 100644 --- a/libretroshare/src/gxs/rsgenexchange.cc +++ b/libretroshare/src/gxs/rsgenexchange.cc @@ -908,7 +908,7 @@ int RsGenExchange::validateGrp(RsNxsGrp* grp) PrivacyBitPos pos = GRP_OPTION_BITS; // Check required permissions, and allow them to sign it - if they want too - as well! - if (!(metaData.mAuthorId.isNull()) || checkAuthenFlag(pos, author_flag)) + if ((!metaData.mAuthorId.isNull()) || checkAuthenFlag(pos, author_flag)) { needIdentitySign = true; std::cerr << "Needs Identity sign! (Service Flags)";