summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_core.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-07-02 08:52:29 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-07-02 08:52:29 +0000
commit2481102c6541df37a773569dd4d67b579f04d819 (patch)
treec8dac50aac18414c42e8c024340eab7a6ee5ab32 /plugins/MirLua/src/m_core.cpp
parentcea0c911bc4bb8d527739cbaf1a098ac2344a7d8 (diff)
MirLua:
- removed console - changed logging (via netlib) - version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@14467 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_core.cpp')
-rw-r--r--plugins/MirLua/src/m_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_core.cpp b/plugins/MirLua/src/m_core.cpp
index 41adff71fc..a61ed05431 100644
--- a/plugins/MirLua/src/m_core.cpp
+++ b/plugins/MirLua/src/m_core.cpp
@@ -177,7 +177,7 @@ static INT_PTR ServiceFunctionObjParam(void *obj, WPARAM wParam, LPARAM lParam,
lua_pushnumber(L, wParam);
lua_pushnumber(L, lParam);
if (lua_pcall(L, 2, 1, 0))
- printf("%s\n", lua_tostring(L, -1));
+ CallService(MS_NETLIB_LOG, (WPARAM)hNetlib, (LPARAM)lua_tostring(L, -1));
INT_PTR res = (INT_PTR)lua_tointeger(L, 1);
lua_pushinteger(L, res);