diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-24 09:06:33 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-24 09:06:33 +0000 |
commit | 3da3fa4dd48a23bd5a2d9a2cda58c7f30173e4df (patch) | |
tree | 238ba2e47831c4b5ad1244a828a791550e090187 | |
parent | e7cbad749beed101cefc96fd9d0302dc0371f01a (diff) |
fix return value
git-svn-id: http://svn.miranda-ng.org/main/trunk@17029 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/MirLua/src/m_core.cpp | 3 |
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;
}
|