mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
server crash fix; protocol response fix
This commit is contained in:
parent
970da7d214
commit
b0b58ca7bd
4 changed files with 18 additions and 17 deletions
|
|
@ -206,6 +206,7 @@ ProtocolResponse::ProtocolResponse(int _cmdId, ResponseCode _responseCode, const
|
|||
|
||||
void ProtocolResponse::initializeHash()
|
||||
{
|
||||
responseHash.insert(QString(), RespNothing);
|
||||
responseHash.insert("ok", RespOk);
|
||||
responseHash.insert("invalid_command", RespInvalidCommand);
|
||||
responseHash.insert("name_not_found", RespNameNotFound);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue