From 1c96560f8bc136fa2930dd67f538f65c02a1c350 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Sat, 4 Jun 2016 18:01:23 +0000 Subject: MirLua: - fixed DBEVENTINFO metatable - BLOB metatable temporary moved to utils - fixed tonumber function git-svn-id: http://svn.miranda-ng.org/main/trunk@16913 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/main.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/MirLua/src/main.cpp') diff --git a/plugins/MirLua/src/main.cpp b/plugins/MirLua/src/main.cpp index 973a681a15..49b50190fd 100644 --- a/plugins/MirLua/src/main.cpp +++ b/plugins/MirLua/src/main.cpp @@ -46,9 +46,6 @@ int OnModulesLoaded(WPARAM, LPARAM) HookEvent(ME_OPT_INITIALISE, CMLuaOptions::OnOptionsInit); - hRecvMessage = CreateHookableEvent(MODULE PSR_MESSAGE); - CreateProtoServiceFunction(MODULE, PSR_MESSAGE, FilterRecvMessage); - InitIcons(); g_mLua = new CMLua(); @@ -65,7 +62,7 @@ extern "C" int __declspec(dllexport) Load(void) NETLIBUSER nlu = { 0 }; nlu.cbSize = sizeof(nlu); - nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE; + nlu.flags = NUF_NOOPTIONS | NUF_UNICODE; nlu.ptszDescriptiveName = _T(MODULE); nlu.szSettingsModule = MODULE; hNetlib = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu); @@ -76,7 +73,9 @@ extern "C" int __declspec(dllexport) Load(void) pd.type = PROTOTYPE_FILTER; Proto_RegisterModule(&pd); + hRecvMessage = CreateHookableEvent(MODULE PSR_MESSAGE); CreateProtoServiceFunction(MODULE, PSR_MESSAGE, FilterRecvMessage); + /*CreateProtoServiceFunction(MODULE, PSR_AUTH, FilterRecvAuth); CreateProtoServiceFunction(MODULE, PSR_FILE, FilterRecvFile); CreateProtoServiceFunction(MODULE, PSR_URL, FilterRecvUrl); -- cgit v1.2.3