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 --- protocols/IRCG/src/options.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/IRCG/src') diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp index 6f33f9b9d0..8160d70e30 100644 --- a/protocols/IRCG/src/options.cpp +++ b/protocols/IRCG/src/options.cpp @@ -1634,19 +1634,19 @@ int CIrcProto::OnInitOptionsPages(WPARAM wParam, LPARAM) odp.szTab.w = LPGENW("Account"); odp.pDialog = new CConnectPrefsDlg(this); - Options_AddPage(wParam, &odp); + g_plugin.addOptions(wParam, &odp); odp.szTab.w = LPGENW("DCC and CTCP"); odp.pDialog = new CCtcpPrefsDlg(this); - Options_AddPage(wParam, &odp); + g_plugin.addOptions(wParam, &odp); odp.szTab.w = LPGENW("Advanced"); odp.pDialog = new COtherPrefsDlg(this); - Options_AddPage(wParam, &odp); + g_plugin.addOptions(wParam, &odp); odp.szTab.w = LPGENW("Ignore"); odp.pDialog = new CIgnorePrefsDlg(this); - Options_AddPage(wParam, &odp); + g_plugin.addOptions(wParam, &odp); return 0; } -- cgit v1.2.3