diff options
Diffstat (limited to 'dalos-luafilter.lua')
-rw-r--r-- | dalos-luafilter.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dalos-luafilter.lua b/dalos-luafilter.lua index 297441e..312aff7 100644 --- a/dalos-luafilter.lua +++ b/dalos-luafilter.lua @@ -146,6 +146,8 @@ end tab.default_name = "Lua Filter" tab.get_settings = dalosp.luafilter.get_settings tab.ntype = "Lua Filter" + tab.gen_template = dalosp.luafilter.gen_template + tab.apply_template = dalosp.luafilter.apply_template local extra = { localenv = {} } extra.code = settings and settings.code if not extra.code or extra.code == "" then extra.code = dalosp.luafilter.default_code end @@ -158,8 +160,6 @@ end obj.load_code = dalosp.luafilter.load_code obj.run_in_localenv = dalosp.luafilter.run_in_localenv - obj.gen_template = dalosp.luafilter.gen_template - obj.apply_template = dalosp.luafilter.apply_template obj:load_code(extra.code) return obj |