diff options
author | Matthew Wild <mwild1@gmail.com> | 2022-02-04 15:04:20 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2022-02-04 15:04:20 +0000 |
commit | 018c618a3f43a893d178c773176c2ef3f6aefde6 (patch) | |
tree | 99d497c51425e5900b7fe3814c02326ff42dc249 /util | |
parent | 61d33dd36446c1a6d801c1d3781c4051641af615 (diff) | |
download | prosody-018c618a3f43a893d178c773176c2ef3f6aefde6.tar.gz prosody-018c618a3f43a893d178c773176c2ef3f6aefde6.zip |
util.pluginloader: Fix method to return any module metadata (luacheck)
Diffstat (limited to 'util')
-rw-r--r-- | util/pluginloader.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/pluginloader.lua b/util/pluginloader.lua index b7f8bad2..77f893b4 100644 --- a/util/pluginloader.lua +++ b/util/pluginloader.lua @@ -82,7 +82,7 @@ function pluginloader_methods:load_code_ext(plugin, resource, extension, env) 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) |