mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
plugin modules have 'name' field
This commit is contained in:
@@ -26,6 +26,7 @@ function PluginLoader:loadPlugins()
|
||||
package.path = package_path
|
||||
package.cpath = package_cpath
|
||||
if ok then
|
||||
module.name = module.name or "unknownplugin"
|
||||
module.path = path
|
||||
table.insert(self.plugins, module)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user