From 018c618a3f43a893d178c773176c2ef3f6aefde6 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 4 Feb 2022 15:04:20 +0000 Subject: util.pluginloader: Fix method to return any module metadata (luacheck) --- util/pluginloader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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) -- cgit v1.2.3