0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 16:52:44 +01:00

modules/console: Fix argument interpretation to make the state::space key properly.

This commit is contained in:
Jason Volk 2019-08-18 04:56:44 -07:00
parent 6e49f8ae6b
commit a49560cd1a

View file

@ -9062,15 +9062,17 @@ console_cmd__room__state__space(opt &out, const string_view &line)
const string_view &type const string_view &type
{ {
param["type"] param["type"] != "*"?
param["type"] : string_view{},
}; };
const string_view &state_key const string_view &state_key
{ {
param["state_key"] param["state_key"] != "\"\""?
param["state_key"] : string_view{},
}; };
const auto depth const int64_t depth
{ {
param.at("depth", -1L) param.at("depth", -1L)
}; };