+-- Prosody IM
+-- Copyright (C) 2008-2009 Matthew Wild
+-- Copyright (C) 2008-2009 Waqas Hussain
+--
+-- This project is MIT/X11 licensed. Please see the
+-- COPYING file in the source package for more information.
+--
+
local httpserver = require "net.httpserver";
local t_concat, t_insert = table.concat, table.insert;
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