--- a/mod_rest/mod_rest.lua Sun Feb 28 20:59:53 2021 +0100 +++ b/mod_rest/mod_rest.lua Mon Mar 01 17:33:32 2021 +0100 @@ -67,7 +67,7 @@ -- GET /iq/disco/jid data.kind = "iq"; data.type = "get"; - data.[st_type] = true; + data[st_type] = true; else data.kind = st_kind; data.type = st_type;