plugin modules have 'name' field
This commit is contained in:
1 parent
896ad0e8f8
commit
a4d5ec6534
4 files changed
+4
No files matched your search
@@ -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