diff options
Diffstat (limited to 'src/lua/lua_config.c')
-rw-r--r-- | src/lua/lua_config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_config.c b/src/lua/lua_config.c index 2cc03fb1a..c25103f77 100644 --- a/src/lua/lua_config.c +++ b/src/lua/lua_config.c @@ -199,7 +199,7 @@ lua_config_register_function (lua_State *L) cd = g_malloc (sizeof (struct lua_callback_data)); cd->name = g_strdup (callback); cd->L = L; - register_expression_function (cd->name, lua_config_function_callback, cd); + register_expression_function (name, lua_config_function_callback, cd); } } return 0; |