mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 16:24:45 -07:00
Merge pull request #1310 from ctrlaltca/emails
Servatrice: do not disclose user emails to clients
This commit is contained in:
commit
da48b71442
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();
|
||||
}
|
||||
if (!internalInfo)
|
||||
{
|
||||
result.clear_id();
|
||||
result.clear_email();
|
||||
}
|
||||
if (!complete)
|
||||
result.clear_avatar_bmp();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue