aboutsummaryrefslogtreecommitdiff
path: root/src/reg.c
diff options
context:
space:
mode:
authoramelia squires <[email protected]>2025-04-16 13:09:46 -0500
committeramelia squires <[email protected]>2025-04-16 13:09:46 -0500
commit009eb7d43d9582856c275ad3b16f7e3ff94209cc (patch)
tree6d1f5ea000a6d72164a5b6e05b68dfbe0371ae06 /src/reg.c
parentdd7a8af4050454c3901987bff24a77334f892cc4 (diff)
merge thingy
Diffstat (limited to 'src/reg.c')
-rw-r--r--src/reg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reg.c b/src/reg.c
index 64a2c2f..98419bc 100644
--- a/src/reg.c
+++ b/src/reg.c
@@ -26,7 +26,7 @@ static int lua_exit(lua_State* L){
#define open_common(name)\
int luaopen_lullaby_##name (lua_State* L){\
- luaL_register(L, NULL, name##_function_list);\
+ luaL_register(L, #name, name##_function_list);\
int tidx = lua_gettop(L);\
i_config_metatable(L, name##_config);\
lua_settop(L, tidx);\