diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-23 11:22:01 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-23 11:22:01 +0000 |
commit | 1406bb2d649a561151ea9c44f2a3da54704d3ff7 (patch) | |
tree | b0a0f25fae5e8605851c2ba5ede8b3baea91d2e9 /plugins/MirLua | |
parent | bd51e58378fab4f1ac9441f17830b0d9e7624a90 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@17022 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua')
-rw-r--r-- | plugins/MirLua/src/m_core.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|