summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_message.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-12-28 19:08:23 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-12-28 19:08:23 +0000
commit533a0aa0576ed31f1840c099267a34330952c4e8 (patch)
tree152d8475484054e4c709ebe8426c30cf03a35190 /plugins/MirLua/src/m_message.cpp
parent23a09a681153a5d298bcac9d68f8288198c2d518 (diff)
MirLua: minor changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15960 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_message.cpp')
-rw-r--r--plugins/MirLua/src/m_message.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/MirLua/src/m_message.cpp b/plugins/MirLua/src/m_message.cpp
index 0db063f684..933160dea1 100644
--- a/plugins/MirLua/src/m_message.cpp
+++ b/plugins/MirLua/src/m_message.cpp
@@ -93,8 +93,7 @@ int MsgWindowEventHookEventObjParam(void *obj, WPARAM wParam, LPARAM lParam, LPA
lua_pushinteger(L, ev->uFlags);
lua_settable(L, -3);
- if (lua_pcall(L, 2, 1, 0))
- printf("%s\n", lua_tostring(L, -1));
+ luaM_pcall(L, 2, 1);
int res = (int)lua_tointeger(L, 1);