Software /
code /
prosody
File
util/xpcall.lua @ 11861:b8cc1b3e7fb6
doap: Update versions of XEPs
Makes it easier to find XEPs that have had new revisions since we last
looked at them and the corresponding code.
A review of changelogs between these versions point to mostly editorial
changes or otherwise without warrant for code changes.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 21 Oct 2021 20:58:19 +0200 |
parent | 9561:cfc7b2f7251e |
child | 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"util.compat".xpcall; end return { xpcall = xpcall; };