aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-01-12 04:13:05 +0000
committerMatthew Wild <mwild1@gmail.com>2009-01-12 04:13:05 +0000
commit393b7385885eb8ec8e9e93daf31a365480b127a9 (patch)
treeb053d4f1d9d02de051a30af16417203f4dc94bb7
parent1980849de01d6eac16e59e8d6986e7d1796c73fe (diff)
downloadprosody-393b7385885eb8ec8e9e93daf31a365480b127a9.tar.gz
prosody-393b7385885eb8ec8e9e93daf31a365480b127a9.zip
mod_actions_http: Show tables as 'list's
-rw-r--r--plugins/mod_actions_http.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_actions_http.lua b/plugins/mod_actions_http.lua
index 327bd670..43370a41 100644
--- a/plugins/mod_actions_http.lua
+++ b/plugins/mod_actions_http.lua
@@ -53,6 +53,8 @@ local function handle_request(method, body, request)
t_insert(s, " = ");
if type(v) == "function" then
t_insert(s, "action")
+ elseif type(v) == "table" then
+ t_insert(s, "list");
else
t_insert(s, tostring(v));
end