Software /
code /
prosody
File
util/xpcall.lua @ 13473:9eb081616842
mod_admin_shell: Add connection created time
This adds an output format option to show the time that the connection was created.
Ref #1852
author | aidan@jmad.org |
---|---|
date | Wed, 03 Apr 2024 21:56:03 -0700 |
parent | 12975:d10957394a3c |
line wrap: on
line source
local xpcall = xpcall; if select(2, xpcall(function (x) return x end, function () end, "test")) ~= "test" then xpcall = require"prosody.util.compat".xpcall; end return { xpcall = xpcall; };