# HG changeset patch # User Kim Alvefur # Date 1614616412 -3600 # Node ID e453eaf1589e586aabf5a0b8c2d6a3d92c361072 # Parent dad0367d33e8c64409a4bedc412dd4d7a133dde6 mod_rest: Fix syntax error in previous commit diff -r dad0367d33e8 -r e453eaf1589e mod_rest/mod_rest.lua --- 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;