From 176e52e14fd0358a7f26ca8d7b0205244dfde2e7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 23 May 2018 23:29:25 +0300 Subject: no need to initialize pcli variable in each plugin (only in Clist_*) --- protocols/Dummy/src/main.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'protocols/Dummy/src') diff --git a/protocols/Dummy/src/main.cpp b/protocols/Dummy/src/main.cpp index 79a8bedbdd..999d3f8b41 100644 --- a/protocols/Dummy/src/main.cpp +++ b/protocols/Dummy/src/main.cpp @@ -19,7 +19,6 @@ along with this program. If not, see . #include "version.h" CMPlugin g_plugin; -CLIST_INTERFACE *pcli; PLUGININFOEX pluginInfoEx = { @@ -62,8 +61,6 @@ static int OnModulesLoaded(WPARAM, LPARAM) extern "C" int __declspec(dllexport) Load() { - pcli = Clist_GetInterface(); - HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); return 0; } -- cgit v1.2.3