From 8756b0d75dd3df84a376e422fa6466ae9d6b0329 Mon Sep 17 00:00:00 2001 From: drbob Date: Fri, 3 Feb 2012 00:59:41 +0000 Subject: [PATCH] Switched BanList sharing to only your own list. (was OWN + FRIENDS lists) - This data is not used at the moment, so just reducing data before release. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4875 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/services/p3banlist.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretroshare/src/services/p3banlist.cc b/libretroshare/src/services/p3banlist.cc index 5189662eb..ce99d00f2 100644 --- a/libretroshare/src/services/p3banlist.cc +++ b/libretroshare/src/services/p3banlist.cc @@ -408,9 +408,9 @@ int p3BanList::sendBanSet(std::string peerid) std::map::iterator it; for(it = mBanSet.begin(); it != mBanSet.end(); it++) { - if (it->second.level > RSBANLIST_SOURCE_FRIEND) + if (it->second.level >= RSBANLIST_SOURCE_FRIEND) { - continue; // only share OWN and FRIENDS. + continue; // only share OWN for the moment. } RsTlvBanListEntry bi;