filter bugfix

This commit is contained in:
Manuel Simon Hirsig
2016-08-11 19:14:17 +02:00
parent 4ee99e43e8
commit dba5dcdf8d
8 changed files with 55 additions and 68 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
local addon = aux_module()
local addon = {aux_module()}
aux = tremove(addon, 1)
local m, public, private = unpack(addon)
@@ -16,7 +16,7 @@ function public.module(path)
local qualified_name = prefix and prefix..'.'..name or name
module = m.modules[qualified_name]
if not module then
module = aux_module()
module = {aux_module()}
module[4].LOAD = nil
(prefix and m.modules[prefix] or addon)[2][name] = tremove(module, 1)
m.modules[qualified_name] = module