summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/main.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-06-04 18:01:23 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-06-04 18:01:23 +0000
commit1c96560f8bc136fa2930dd67f538f65c02a1c350 (patch)
treee0ecd365094b4aff09c6fe8cab228d371ce68d05 /plugins/MirLua/src/main.cpp
parent420403dedffee8a10336e450337d30e1f25336b2 (diff)
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
Diffstat (limited to 'plugins/MirLua/src/main.cpp')
-rw-r--r--plugins/MirLua/src/main.cpp7
1 files changed, 3 insertions, 4 deletions
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);