Software /
code /
prosody
File
util/xpcall.lua @ 12332:0d245034600a
prosody.cfg.lua.dist: Remove require_encryption options
Reasons:
- These now default to enabled when not specified since 38b5b05407be
- Practically all servers require encryption these days for c2s/s2s.
- Disabling encryption can be considered a special case that doesn't
need to be in the default config file.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 14 Feb 2022 15:58:08 +0000 |
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; };