summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua')
-rw-r--r--plugins/MirLua/src/m_core.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_core.cpp b/plugins/MirLua/src/m_core.cpp
index e0a19e0a6f..0d2d07eb4d 100644
--- a/plugins/MirLua/src/m_core.cpp
+++ b/plugins/MirLua/src/m_core.cpp
@@ -54,7 +54,7 @@ static int core_HookEvent(lua_State *L)
return 1;
}
-
+ lua_pushlightuserdata(L, hEvent);
return 1;
}
@@ -127,6 +127,7 @@ static int core_CreateServiceFunction(lua_State *L)
lua_pushnil(L);
return 1;
}
+ lua_pushlightuserdata(L, hService);
return 1;
}