diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-26 21:11:57 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-26 21:11:57 +0300 |
commit | ef5d5d9a996e2392d4634f8114d096e1fa98fb43 (patch) | |
tree | 5efb76e0b392cb549b9adeb9c9cf494ca94e72a8 /src/core | |
parent | 592c0d89f865c44e6909e0ca1e9d0c550be890b4 (diff) |
duplicate code removed
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/chat_window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/chat_window.cpp b/src/core/stdmsg/src/chat_window.cpp index 725a92e71b..675b28e2f7 100644 --- a/src/core/stdmsg/src/chat_window.cpp +++ b/src/core/stdmsg/src/chat_window.cpp @@ -168,7 +168,7 @@ void CChatRoomDlg::onClick_NickList(CCtrlButton *pButton) void CChatRoomDlg::onClick_Options(CCtrlButton *pButton) { if (pButton->Enabled()) - DoEventHook(GC_USER_CHANMGR, nullptr, nullptr, 0); + Chat_DoEventHook(m_si, GC_USER_CHANMGR, nullptr, nullptr, 0); } void CChatRoomDlg::onClick_Ok(CCtrlButton *pButton) @@ -199,7 +199,7 @@ void CChatRoomDlg::onClick_Ok(CCtrlButton *pButton) EnableWindow(m_btnOk.GetHwnd(), FALSE); - DoEventHook(GC_USER_MESSAGE, nullptr, ptszText, 0); + Chat_DoEventHook(m_si, GC_USER_MESSAGE, nullptr, ptszText, 0); SetFocus(m_message.GetHwnd()); } |