projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84dca7b
)
mod_actions_http: Show tables as 'list's
author
Matthew Wild
<mwild1@gmail.com>
Mon, 12 Jan 2009 04:13:05 +0000
(
04:13
+0000)
committer
Matthew Wild
<mwild1@gmail.com>
Mon, 12 Jan 2009 04:13:05 +0000
(
04:13
+0000)
plugins/mod_actions_http.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_actions_http.lua
b/plugins/mod_actions_http.lua
index 327bd6708701b8737a85a73faba88031ab4132fc..43370a4183cfa513cef359b43c13ee9e96550f9c 100644
(file)
--- 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