Merge pull request #28 from borromeotlhs/patch-7

Update args.lua
This commit is contained in:
Marcos 2015-07-19 09:19:05 -05:00
commit 350c868063

View File

@ -18,8 +18,7 @@ return function (connection, args)
connection:send('<h2>Received the following values:</h2>')
connection:send("<ul>\n")
for name, value in pairs(args) do
if value == nil then value = "nil" end
connection:send('<li><b>' .. name .. ':</b> ' .. value .. "<br></li>\n")
connection:send('<li><b>' .. name .. ':</b> ' .. tostring(value) .. "<br></li>\n")
end
connection:send("</ul>\n")