mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
server crash fixes
This commit is contained in:
parent
4f97db62d7
commit
c65f327e71
7 changed files with 20 additions and 6 deletions
|
|
@ -26,8 +26,7 @@ ServerInfo_User_Container::~ServerInfo_User_Container()
|
|||
|
||||
void ServerInfo_User_Container::setUserInfo(const ServerInfo_User &_userInfo)
|
||||
{
|
||||
userInfo = new ServerInfo_User;
|
||||
userInfo->CopyFrom(_userInfo);
|
||||
userInfo = new ServerInfo_User(_userInfo);
|
||||
}
|
||||
|
||||
ServerInfo_User &ServerInfo_User_Container::copyUserInfo(ServerInfo_User &result, bool complete, bool internalInfo, bool sessionInfo) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue