Software /
code /
prosody
Diff
util/pluginloader.lua @ 12255:a3ad9cf740d6
util.pluginloader: Fix method to return any module metadata (luacheck)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 04 Feb 2022 15:04:20 +0000 |
parent | 12251:21ed12cfe300 |
child | 12387:05c250fa335a |
line wrap: on
line diff
--- a/util/pluginloader.lua Fri Feb 04 14:20:00 2022 +0000 +++ b/util/pluginloader.lua Fri Feb 04 15:04:20 2022 +0000 @@ -82,7 +82,7 @@ local path = err; local f, err = envload(content, "@"..path, env); if not f then return f, err; end - return f, path; + return f, path, metadata; end local function init(options)