From ef5d5d9a996e2392d4634f8114d096e1fa98fb43 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Mar 2017 21:11:57 +0300 Subject: duplicate code removed --- plugins/Scriver/src/chat_window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Scriver/src') diff --git a/plugins/Scriver/src/chat_window.cpp b/plugins/Scriver/src/chat_window.cpp index 2ab211a1bd..5b2fbf80ff 100644 --- a/plugins/Scriver/src/chat_window.cpp +++ b/plugins/Scriver/src/chat_window.cpp @@ -372,7 +372,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()); } @@ -853,7 +853,7 @@ LRESULT CChatRoomDlg::WndProc_Nicklist(UINT msg, WPARAM wParam, LPARAM lParam) int index = m_nickList.SendMsg(LB_GETCURSEL, 0, 0); if (index != LB_ERR) { USERINFO *ui = pci->SM_GetUserFromIndex(m_si->ptszID, m_si->pszModule, index); - DoEventHook(GC_USER_PRIVMESS, ui, nullptr, 0); + Chat_DoEventHook(m_si, GC_USER_PRIVMESS, ui, nullptr, 0); } break; } -- cgit v1.2.3