mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 08:03:54 -07:00
Servatrice: do not disclose user emails to clients
This commit is contained in:
parent
183fbd2805
commit
8d325b9e19
1 changed files with 3 additions and 0 deletions
|
|
@ -38,7 +38,10 @@ ServerInfo_User &ServerInfo_User_Container::copyUserInfo(ServerInfo_User &result
|
||||||
result.clear_address();
|
result.clear_address();
|
||||||
}
|
}
|
||||||
if (!internalInfo)
|
if (!internalInfo)
|
||||||
|
{
|
||||||
result.clear_id();
|
result.clear_id();
|
||||||
|
result.clear_email();
|
||||||
|
}
|
||||||
if (!complete)
|
if (!complete)
|
||||||
result.clear_avatar_bmp();
|
result.clear_avatar_bmp();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue