From 81e8caf42867b65677efe2bffaa52ecff7303c3a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jun 2012 13:58:25 +0000 Subject: no more pluginLink in load() git-svn-id: http://svn.miranda-ng.org/main/trunk@652 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SRMM/srmm.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/SRMM/srmm.cpp') diff --git a/plugins/SRMM/srmm.cpp b/plugins/SRMM/srmm.cpp index fc89f36dd9..9fa71527ff 100644 --- a/plugins/SRMM/srmm.cpp +++ b/plugins/SRMM/srmm.cpp @@ -23,8 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. int LoadSendRecvMessageModule(void); int SplitmsgShutdown(void); -PLUGINLINK* pluginLink; -HINSTANCE g_hInst; +HINSTANCE g_hInst; int hLangpack; TIME_API tmi; @@ -60,9 +59,9 @@ extern "C" __declspec(dllexport) const MUUID* MirandaPluginInterfaces(void) return interfaces; } -extern "C" int __declspec(dllexport) Load(PLUGINLINK * link) +extern "C" int __declspec(dllexport) Load(void) { - pluginLink = link; + mir_getTMI(&tmi); mir_getLP(&pluginInfo); -- cgit v1.2.3