Software /
code /
prosody
Changeset
700:9666ad50a353
mod_actions_http: Show tables as 'list's
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 12 Jan 2009 04:13:05 +0000 |
parents | 699:30f5dcb654bd |
children | 701:dc67e3cffff4 |
files | plugins/mod_actions_http.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_actions_http.lua Mon Jan 12 04:09:02 2009 +0000 +++ b/plugins/mod_actions_http.lua Mon Jan 12 04:13:05 2009 +0000 @@ -53,6 +53,8 @@ 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