mod_actions_http: Show tables as 'list's

Mon, 12 Jan 2009 04:13:05 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Mon, 12 Jan 2009 04:13:05 +0000
changeset 700
9666ad50a353
parent 699
30f5dcb654bd
child 701
dc67e3cffff4

mod_actions_http: Show tables as 'list's

plugins/mod_actions_http.lua file | annotate | diff | comparison | revisions
--- 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

mercurial