summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-07-10 19:48:40 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-07-10 19:48:40 +0000
commit0c25d82fbea363b8ca544a49dbb1d02c33fbbb8f (patch)
tree0e14f5c5ca4905c7d2dadf5eb24727f74fdacd81 /plugins
parent71a9973979788a84413114c4b308a56c62f0cc4c (diff)
MirLua: fixed GetContactSetting byte value return
git-svn-id: http://svn.miranda-ng.org/main/trunk@14530 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/MirLua/src/m_database.cpp2
1 files changed, 1 insertions, 1 deletions
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);