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/StopSpamMod/src/options.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/StopSpamMod') diff --git a/plugins/StopSpamMod/src/options.cpp b/plugins/StopSpamMod/src/options.cpp index 9847352c76..13d122d006 100755 --- a/plugins/StopSpamMod/src/options.cpp +++ b/plugins/StopSpamMod/src/options.cpp @@ -276,19 +276,19 @@ int OnOptInit(WPARAM w, LPARAM l) odp.szTab.w = LPGENW("General"); odp.pDialog = new COptMainDlg(); - Options_AddPage(w, &odp); + g_plugin.addOptions(w, &odp); odp.szTab.w = LPGENW("Messages"); odp.pDialog = new COptMessagesDlg(); - Options_AddPage(w, &odp); + g_plugin.addOptions(w, &odp); odp.szTab.w = LPGENW("Accounts"); odp.pDialog = new COptProtoDlg(); - Options_AddPage(w, &odp); + g_plugin.addOptions(w, &odp); odp.szTab.w = LPGENW("Advanced"); odp.pDialog = new COptAdvancedDlg(); - Options_AddPage(w, &odp); + g_plugin.addOptions(w, &odp); return 0; } -- cgit v1.2.3