diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-06-21 18:40:46 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-06-21 18:40:46 +0000 |
commit | b048ea322fac0d6cb59b9f1645fad9d7a898fc57 (patch) | |
tree | 77cab073f0cca54369cf47dadb973bf45d640e15 /plugins/MirLua/src/m_database.cpp | |
parent | 78f36745d03f03d4772e09720eef976cff5a4d9b (diff) |
MirLua: Scripts reloading pt.2
git-svn-id: http://svn.miranda-ng.org/main/trunk@14304 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_database.cpp')
-rw-r--r-- | plugins/MirLua/src/m_database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_database.cpp b/plugins/MirLua/src/m_database.cpp index 5aedf56b8f..18ac994cfd 100644 --- a/plugins/MirLua/src/m_database.cpp +++ b/plugins/MirLua/src/m_database.cpp @@ -111,7 +111,7 @@ static int lua_DeleteModule(lua_State *L) MCONTACT hContact = lua_tointeger(L, 1);
LPCSTR szModule = luaL_checkstring(L, 2);
- INT_PTR res = ::CallService(MS_DB_MODULE_DELETE, 0, (LPARAM)szModule);
+ INT_PTR res = ::CallService(MS_DB_MODULE_DELETE, hContact, (LPARAM)szModule);
lua_pushinteger(L, res);
return 1;
|