mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 14:20:44 -04:00
fixed bug caused by wrong reading of disc flag
This commit is contained in:
parent
9c7edffc21
commit
19ced52a02
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue