From 8d325b9e198ab0a9cd30ae87ae42558fcc574b7f Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Tue, 28 Jul 2015 22:20:40 +0200 Subject: [PATCH] Servatrice: do not disclose user emails to clients --- common/serverinfo_user_container.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/serverinfo_user_container.cpp b/common/serverinfo_user_container.cpp index 14435f75..bf53a3f0 100644 --- a/common/serverinfo_user_container.cpp +++ b/common/serverinfo_user_container.cpp @@ -38,7 +38,10 @@ ServerInfo_User &ServerInfo_User_Container::copyUserInfo(ServerInfo_User &result result.clear_address(); } if (!internalInfo) + { result.clear_id(); + result.clear_email(); + } if (!complete) result.clear_avatar_bmp(); }