Added WriteString to jsonfile which takes an std::string
This commit is contained in:
@ -27,7 +27,7 @@ namespace DemHandlers
|
||||
|
||||
bool Dem_ConsoleCmd_JsonWrite_Internal(JsonWrite& jsonbuf, DemMsg::Dem_ConsoleCmd* data)
|
||||
{
|
||||
jsonbuf.WriteString("command", data->command.c_str(), data->command.length());
|
||||
jsonbuf.WriteString("command", data->command);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user