diff options
Diffstat (limited to 'Sluift/client.cpp')
-rw-r--r-- | Sluift/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sluift/client.cpp b/Sluift/client.cpp index 97f9106..9eac84b 100644 --- a/Sluift/client.cpp +++ b/Sluift/client.cpp @@ -419,7 +419,7 @@ static void pushEvent(lua_State* L, const SluiftClient::Event& event) { lua_pushstring(L, event.from.toString().c_str()); lua_setfield(L, -2, "from"); - lua_rawgeti(L, LUA_REGISTRYINDEX, Sluift::globals.bootIndex); + lua_rawgeti(L, LUA_REGISTRYINDEX, Sluift::globals.coreLibIndex); lua_getfield(L, -1, "process_pubsub_event"); lua_pushvalue(L, -3); lua_call(L, 1, 0); |