summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-06-24 09:06:33 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-06-24 09:06:33 +0000
commit3da3fa4dd48a23bd5a2d9a2cda58c7f30173e4df (patch)
tree238ba2e47831c4b5ad1244a828a791550e090187 /plugins/MirLua
parente7cbad749beed101cefc96fd9d0302dc0371f01a (diff)
fix return value
git-svn-id: http://svn.miranda-ng.org/main/trunk@17029 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}