0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-02-16 16:50:12 +01:00

ircd:Ⓜ️:state: Fix fallback path for empty type in count().

This commit is contained in:
Jason Volk 2018-10-18 16:19:58 -07:00
parent a63cfa86a2
commit c31b29307b

View file

@ -197,6 +197,9 @@ size_t
ircd::m::state::count(const string_view &root,
const string_view &type)
{
if(!type)
return count(root);
char buf[KEY_MAX_SZ];
const json::array key
{