fix(lua): Make rtorrent.lua accessible at start

This commit is contained in:
PRESFIL
2025-06-11 18:34:26 +00:00
committed by Jari Sundell
parent d9976af767
commit f8ec1ca95e
5 changed files with 20 additions and 2 deletions
+2
View File
@@ -14,6 +14,7 @@ class LuaEngine {
public:
static const int flag_string = 0x1;
static const std::string module_name;
static const std::string local_path;
LuaEngine();
~LuaEngine();
@@ -23,6 +24,7 @@ public:
static int lua_init_module(lua_State* l_state);
static int lua_rtorrent_call(lua_State* l_state);
void set_package_preload();
void override_package_path();
lua_State* state() { return m_luaState; }
private: