diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-23 20:29:08 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-23 20:29:08 +0000 |
commit | 37a3130638a43029a072fcef77dd3afb88e0e029 (patch) | |
tree | d96296e6130a044fb3fd9f6df81b91b043cc29f7 /src/modules/metacontacts/meta_main.cpp | |
parent | fbf061103982319c8023e48b150295fed547c9de (diff) |
more correct way of catching incoming messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@9560 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_main.cpp')
-rw-r--r-- | src/modules/metacontacts/meta_main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/metacontacts/meta_main.cpp b/src/modules/metacontacts/meta_main.cpp index dec65ef7d0..257f557814 100644 --- a/src/modules/metacontacts/meta_main.cpp +++ b/src/modules/metacontacts/meta_main.cpp @@ -70,6 +70,10 @@ int LoadMetacontacts(void) Meta_ReadOptions(&options);
PROTOCOLDESCRIPTOR pd = { PROTOCOLDESCRIPTOR_V3_SIZE };
+ pd.szName = META_FILTER;
+ pd.type = PROTOTYPE_FILTER;
+ CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
+
pd.szName = META_PROTO;
pd.type = PROTOTYPE_VIRTUAL;
CallService(MS_PROTO_REGISTERMODULE, 0, (LPARAM)&pd);
|