diff options
| author | George Hazan <ghazan@miranda.im> | 2018-05-29 14:56:41 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2018-05-29 14:56:41 +0300 |
| commit | 08aa1c5329918dcc1d3a0704efb5f81c43680a78 (patch) | |
| tree | 0fe6b63fc97bf2c0f2c1d1b7f741d75120701e17 /src/core | |
| parent | 51e1e489382e8f66d489b8bd68eb4e0711409cb7 (diff) | |
ancient perversion removed: function CListInitialise as the special entry point for contact lists (not to mix them with usual plugins)
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/stdclist/src/init.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/core/stdclist/src/init.cpp b/src/core/stdclist/src/init.cpp index 046273e99d..ce90b6e13d 100644 --- a/src/core/stdclist/src/init.cpp +++ b/src/core/stdclist/src/init.cpp @@ -105,7 +105,7 @@ static INT_PTR GetStatusMode(WPARAM, LPARAM) /////////////////////////////////////////////////////////////////////////////////////////
// main clist initialization routine
-extern "C" __declspec(dllexport) int CListInitialise()
+int CMPlugin::Load()
{
g_bSortByStatus = db_get_b(NULL, "CList", "SortByStatus", SETTING_SORTBYSTATUS_DEFAULT);
g_bSortByProto = db_get_b(NULL, "CList", "SortByProto", SETTING_SORTBYPROTO_DEFAULT);
@@ -126,11 +126,3 @@ extern "C" __declspec(dllexport) int CListInitialise() InitCustomMenus();
return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-// a plugin loader aware of CList exports will never call this.
-
-int CMPlugin::Load()
-{
- return 1;
-}
|
