summaryrefslogtreecommitdiff
path: root/protocols/IRCG
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG')
-rw-r--r--protocols/IRCG/options.cpp8
-rw-r--r--protocols/IRCG/userinfo.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/protocols/IRCG/options.cpp b/protocols/IRCG/options.cpp
index 25cf9d38b1..61684cbae1 100644
--- a/protocols/IRCG/options.cpp
+++ b/protocols/IRCG/options.cpp
@@ -1722,7 +1722,7 @@ int CIrcProto::OnInitOptionsPages(WPARAM wParam, LPARAM)
odp.dwInitParam = (LPARAM)&OptCreateAccount;
OptCreateAccount.create = CConnectPrefsDlg::Create;
OptCreateAccount.param = this;
- CallService( MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
odp.flags |= ODPF_EXPERTONLY;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_PREFS_CTCP);
@@ -1730,21 +1730,21 @@ int CIrcProto::OnInitOptionsPages(WPARAM wParam, LPARAM)
odp.dwInitParam = (LPARAM)&OptCreateConn;
OptCreateConn.create = CCtcpPrefsDlg::Create;
OptCreateConn.param = this;
- CallService( MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
odp.pszTemplate = MAKEINTRESOURCEA(IDD_PREFS_OTHER);
odp.ptszTab = LPGENT("Advanced");
odp.dwInitParam = (LPARAM)&OptCreateOther;
OptCreateOther.create = COtherPrefsDlg::Create;
OptCreateOther.param = this;
- CallService( MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
odp.pszTemplate = MAKEINTRESOURCEA(IDD_PREFS_IGNORE);
odp.ptszTab = LPGENT("Ignore");
odp.dwInitParam = (LPARAM)&OptCreateIgnore;
OptCreateIgnore.create = CIgnorePrefsDlg::Create;
OptCreateIgnore.param = this;
- CallService( MS_OPT_ADDPAGE,wParam,(LPARAM)&odp);
+ Options_AddPage(wParam, &odp);
return 0;
}
diff --git a/protocols/IRCG/userinfo.cpp b/protocols/IRCG/userinfo.cpp
index d7e8f071b4..8f6378a3ce 100644
--- a/protocols/IRCG/userinfo.cpp
+++ b/protocols/IRCG/userinfo.cpp
@@ -219,6 +219,6 @@ int __cdecl CIrcProto::OnInitUserInfo(WPARAM wParam, LPARAM lParam)
odp.pfnDlgProc = UserDetailsDlgProc;
odp.pszTemplate = MAKEINTRESOURCEA(IDD_USERINFO);
odp.pszTitle = m_szModuleName;
- CallService( MS_USERINFO_ADDPAGE, wParam, (LPARAM) & odp);
+ UserInfo_AddPage(wParam, &odp);
return 0;
}