summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_database.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-06-11 23:58:14 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-06-11 23:58:14 +0000
commit6d73d5c2980507e6823bb629aa2ce8d410989b8a (patch)
tree1b15e0c75428aae45b66e822e91990ce0130e561 /plugins/MirLua/src/m_database.cpp
parentc5ea3df8b269339e1f6ff91fc6bb0c838e0e10bb (diff)
MirLua: fast fix for CallService and NotifyEventHooks
git-svn-id: http://svn.miranda-ng.org/main/trunk@14131 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_database.cpp')
-rw-r--r--plugins/MirLua/src/m_database.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp
index e786eb86d3..91f7361e88 100644
--- a/plugins/MirLua/src/m_database.cpp
+++ b/plugins/MirLua/src/m_database.cpp
@@ -40,7 +40,7 @@ static int lua_WriteContactSetting(lua_State *L)
break;
default:
- lua_pushinteger(L, hContact);
+ lua_pushinteger(L, 1);
return 1;
}
@@ -62,7 +62,6 @@ static int lua_GetContactSetting(lua_State *L)
lua_pushnil(L);
return 1;
}
-
switch (dbv.type)
{