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 /plugins/TabSRMM/src/chat_window.cpp | |
parent | 592c0d89f865c44e6909e0ca1e9d0c550be890b4 (diff) |
duplicate code removed
Diffstat (limited to 'plugins/TabSRMM/src/chat_window.cpp')
-rw-r--r-- | plugins/TabSRMM/src/chat_window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp index 2a1e14e380..403f6f86be 100644 --- a/plugins/TabSRMM/src/chat_window.cpp +++ b/plugins/TabSRMM/src/chat_window.cpp @@ -685,7 +685,7 @@ void CChatRoomDlg::onClick_OK(CCtrlButton*) bool fSound = true; if (ptszText[0] == '/' || m_si->iType == GCW_SERVER) fSound = false; - DoEventHook(GC_USER_MESSAGE, nullptr, ptszText, 0); + Chat_DoEventHook(m_si, GC_USER_MESSAGE, nullptr, ptszText, 0); mi->idleTimeStamp = time(0); mi->lastIdleCheck = 0; UpdateStatusBar(); @@ -2034,7 +2034,7 @@ INT_PTR CChatRoomDlg::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) return _dlgReturn(m_hwnd, 1); case TABSRMM_HK_MUC_SHOWSERVER: if (m_si->iType != GCW_SERVER) - DoEventHook(GC_USER_MESSAGE, nullptr, L"/servershow", 0); + Chat_DoEventHook(m_si, GC_USER_MESSAGE, nullptr, L"/servershow", 0); return _dlgReturn(m_hwnd, 1); } } |