diff options
-rw-r--r-- | src/plugins/scripts/lua/weechat-lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c index 2b364d38e..2cfea5f5e 100644 --- a/src/plugins/scripts/lua/weechat-lua.c +++ b/src/plugins/scripts/lua/weechat-lua.c @@ -261,7 +261,7 @@ weechat_lua_load (const char *filename) lua_current_script = NULL; lua_registered_script = NULL; - lua_current_interpreter = lua_open (); + lua_current_interpreter = luaL_newstate(); if (lua_current_interpreter == NULL) { |