mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-11 04:35:44 -08:00
Servatrice: do not disclose user emails to clients
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user