aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/skang.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/skang.lua b/lib/skang.lua
index 0f91e44..394c3f8 100644
--- a/lib/skang.lua
+++ b/lib/skang.lua
@@ -95,6 +95,7 @@ moduleBegin = function (name, author, copyright, version, timestamp, skin, isLua
95 -- Returning it at the end does the same thing. 95 -- Returning it at the end does the same thing.
96 -- This is so that we can have all the module stuff at the top, in this function. 96 -- This is so that we can have all the module stuff at the top, in this function.
97 -- Should do this before any further require(), so that circular references don't blow out. 97 -- Should do this before any further require(), so that circular references don't blow out.
98 debug.getregistry()[name] = _M -- Stuff the result in the C registry.
98 99
99 -- Save the callers environment. 100 -- Save the callers environment.
100 local savedEnvironment 101 local savedEnvironment