summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-29 14:56:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-29 14:56:41 +0300
commit08aa1c5329918dcc1d3a0704efb5f81c43680a78 (patch)
tree0fe6b63fc97bf2c0f2c1d1b7f741d75120701e17 /plugins/Clist_modern/src
parent51e1e489382e8f66d489b8bd68eb4e0711409cb7 (diff)
ancient perversion removed: function CListInitialise as the special entry point for contact lists (not to mix them with usual plugins)
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r--plugins/Clist_modern/src/init.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/plugins/Clist_modern/src/init.cpp b/plugins/Clist_modern/src/init.cpp
index 34282b8c25..8969f7ed31 100644
--- a/plugins/Clist_modern/src/init.cpp
+++ b/plugins/Clist_modern/src/init.cpp
@@ -67,7 +67,7 @@ extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_CLIST,
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" __declspec(dllexport) int CListInitialise()
+int CMPlugin::Load(void)
{
g_dwMainThreadID = GetCurrentThreadId();
g_hMirApp = GetModuleHandleA("mir_app.mir");
@@ -81,18 +81,7 @@ extern "C" __declspec(dllexport) int CListInitialise()
CHECKRES(ClcLoadModule());
CHECKRES(ToolbarButtonLoadModule());
CHECKRES(ToolbarLoadModule());
-
- TRACE("CListInitialise Modern Contact List ... Done\r\n");
-
- return S_OK;
-}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// never called by a newer plugin loader.
-
-int CMPlugin::Load(void)
-{
- return 1;
+ return 0;
}
/////////////////////////////////////////////////////////////////////////////////////////