From 0c25d82fbea363b8ca544a49dbb1d02c33fbbb8f Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 10 Jul 2015 19:48:40 +0000 Subject: MirLua: fixed GetContactSetting byte value return git-svn-id: http://svn.miranda-ng.org/main/trunk@14530 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_database.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MirLua/src') diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp index 24fa709fe4..bb903db1aa 100644 --- a/plugins/MirLua/src/m_database.cpp +++ b/plugins/MirLua/src/m_database.cpp @@ -166,7 +166,7 @@ static int lua_GetContactSetting(lua_State *L) switch (dbv.type) { case DBVT_BYTE: - lua_pushboolean(L, dbv.bVal); + lua_pushinteger(L, dbv.bVal); break; case DBVT_WORD: lua_pushinteger(L, dbv.wVal); -- cgit v1.2.3