diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-30 13:35:41 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-30 13:35:41 +0300 |
commit | c90272a48520b1937624c0058f94b06e536f5ff6 (patch) | |
tree | 61eb1096c0565273a08a54a9f528b1260fc5bddb /protocols/WhatsApp/src/main.cpp | |
parent | 5d016227186f7f272e2d423f0628e705187a2dc3 (diff) |
code cleaning
Diffstat (limited to 'protocols/WhatsApp/src/main.cpp')
-rw-r--r-- | protocols/WhatsApp/src/main.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/protocols/WhatsApp/src/main.cpp b/protocols/WhatsApp/src/main.cpp index 20e8b83868..0bed10775b 100644 --- a/protocols/WhatsApp/src/main.cpp +++ b/protocols/WhatsApp/src/main.cpp @@ -39,18 +39,8 @@ CMPlugin::CMPlugin() : /////////////////////////////////////////////////////////////////////////////////////////
// Load
-static int OnPluginLoaded(WPARAM, LPARAM)
-{
- g_plugin.bHasMessageState = ServiceExists(MS_MESSAGESTATE_UPDATE);
- return 0;
-}
-
int CMPlugin::Load()
{
- HookEvent(ME_SYSTEM_MODULELOAD, OnPluginLoaded);
- HookEvent(ME_SYSTEM_MODULEUNLOAD, OnPluginLoaded);
- OnPluginLoaded(0, 0);
-
// special netlib user for reading avatars, blobs etc via HTTP protocol
NETLIBUSER nlu = {};
nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE;
|