From 41ee395da7530c17656bd06f84638ab8d9d3776d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 May 2018 23:36:07 +0300 Subject: options API unbound from hLangpack and switched to CMPlugin --- plugins/StopSpamPlus/src/options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/StopSpamPlus') diff --git a/plugins/StopSpamPlus/src/options.cpp b/plugins/StopSpamPlus/src/options.cpp index 43f33b1030..79b040d967 100644 --- a/plugins/StopSpamPlus/src/options.cpp +++ b/plugins/StopSpamPlus/src/options.cpp @@ -163,14 +163,14 @@ int OnOptInit(WPARAM w, LPARAM) odp.szTab.a = LPGEN("General"); odp.pDialog = new COptMainDlg(); - Options_AddPage(w, &odp); + g_plugin.addOptions(w, &odp); odp.szTab.a = LPGEN("Messages"); odp.pDialog = new COptMessageDlg(); - Options_AddPage(w, &odp); + g_plugin.addOptions(w, &odp); odp.szTab.a = LPGEN("Accounts"); odp.pDialog = new COptAccountDlg(); - Options_AddPage(w, &odp); + g_plugin.addOptions(w, &odp); return 0; } -- cgit v1.2.3