From 1406bb2d649a561151ea9c44f2a3da54704d3ff7 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Thu, 23 Jun 2016 11:22:01 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@17022 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MirLua/src/m_core.cpp') diff --git a/plugins/MirLua/src/m_core.cpp b/plugins/MirLua/src/m_core.cpp index c4b03a6f80..4c2b6e7a38 100644 --- a/plugins/MirLua/src/m_core.cpp +++ b/plugins/MirLua/src/m_core.cpp @@ -225,7 +225,7 @@ static int core_DestroyServiceFunction(lua_State *L) luaL_checktype(L, 1, LUA_TLIGHTUSERDATA); HANDLE hService = lua_touserdata(L, 1); - HandleRefParam *param = (HandleRefParam*)CMLua::ServiceRefs.find(hService); + HandleRefParam *param = (HandleRefParam*)CMLua::ServiceRefs.find(&hService); if (param != NULL) { luaL_unref(param->L, LUA_REGISTRYINDEX, param->ref); -- cgit v1.2.3