# HG changeset patch # User Kim Alvefur # Date 1601924213 -7200 # Node ID 10485a3ef78b337fb768c167ffd6b53d06d3754f # Parent 387d442497e7fd85913b5378be533740d1800f66 util.pluginloader: Look for top level mod_something.lua in luarocks-style tree diff -r 387d442497e7 -r 10485a3ef78b util/pluginloader.lua --- a/util/pluginloader.lua Mon Oct 05 20:56:03 2020 +0200 +++ b/util/pluginloader.lua Mon Oct 05 20:56:53 2020 +0200 @@ -42,6 +42,7 @@ "mod_"..plugin..dir_sep..resource; -- mod_hello/mod_hello.lua plugin..dir_sep..resource; -- hello/mod_hello.lua resource; -- mod_hello.lua + "share"..dir_sep.."lua"..dir_sep..lua_version..dir_sep..resource; "share"..dir_sep.."lua"..dir_sep..lua_version..dir_sep.."mod_"..plugin..dir_sep..resource; };