mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed bug caused by wrong reading of disc flag
This commit is contained in:
parent
9c7edffc21
commit
19ced52a02
@ -1028,7 +1028,7 @@ void p3discovery2::recvPGPCertificateRequest( const RsPeerId& fromId, const RsDi
|
|||||||
peerState ps;
|
peerState ps;
|
||||||
mPeerMgr->getOwnNetStatus(ps);
|
mPeerMgr->getOwnNetStatus(ps);
|
||||||
|
|
||||||
if(ps.vs_disc != RS_VS_DISC_OFF)
|
if(ps.vs_disc == RS_VS_DISC_OFF)
|
||||||
{
|
{
|
||||||
std::cerr << "(WW) refusing PGP certificate request from " << fromId << " because discovery is OFF" << std::endl;
|
std::cerr << "(WW) refusing PGP certificate request from " << fromId << " because discovery is OFF" << std::endl;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user