From d9fddc0cfa9066eb1b5ad3f4807b37426ae6ca88 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 5 Mar 2019 21:10:22 +0300 Subject: Popup: - wiping out checks for service presence; - code cleaning --- plugins/SecureIM/src/main.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'plugins/SecureIM/src/main.cpp') diff --git a/plugins/SecureIM/src/main.cpp b/plugins/SecureIM/src/main.cpp index 5133342c1f..010a065109 100644 --- a/plugins/SecureIM/src/main.cpp +++ b/plugins/SecureIM/src/main.cpp @@ -50,12 +50,6 @@ static HGENMENU MyAddSubItem(HGENMENU hRoot, LPCSTR name, int pos, int poppos, L return res; } -static int onModuleLoad(WPARAM, LPARAM) -{ - bPopupExists = ServiceExists(MS_POPUP_ADDPOPUPW); - return 0; -} - static int onModulesLoaded(WPARAM, LPARAM) { InitNetlib(); @@ -64,7 +58,6 @@ static int onModulesLoaded(WPARAM, LPARAM) InitIcons(); GetFlags(); - onModuleLoad(0, 0); // RSA/AES Sent_NetLog("rsa_init"); @@ -316,8 +309,6 @@ int CMPlugin::Load(void) // hook events HookEvent(ME_SYSTEM_MODULESLOADED, onModulesLoaded); HookEvent(ME_SYSTEM_PRESHUTDOWN, onShutdown); - HookEvent(ME_SYSTEM_MODULELOAD, onModuleLoad); - HookEvent(ME_SYSTEM_MODULEUNLOAD, onModuleLoad); HookEvent(ME_OPT_INITIALISE, onRegisterOptions); g_hEvent[0] = CreateHookableEvent(MODULENAME"/Disabled"); -- cgit v1.2.3