Software /
code /
prosody
Diff
plugins/mod_actions_http.lua @ 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 |
parent | 699:30f5dcb654bd |
child | 1522:569d58d21612 |
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