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/MinecraftDynmap/src/main.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'protocols/MinecraftDynmap') diff --git a/protocols/MinecraftDynmap/src/main.cpp b/protocols/MinecraftDynmap/src/main.cpp index d65a46fed8..268c8c1734 100644 --- a/protocols/MinecraftDynmap/src/main.cpp +++ b/protocols/MinecraftDynmap/src/main.cpp @@ -23,7 +23,6 @@ along with this program. If not, see . #include "stdafx.h" CMPlugin g_plugin; -CLIST_INTERFACE* pcli; std::string g_strUserAgent; @@ -58,8 +57,6 @@ static HANDLE g_hEvents[1]; extern "C" int __declspec(dllexport) Load(void) { - pcli = Clist_GetInterface(); - InitIcons(); // Init native User-Agent -- cgit v1.2.3