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/Scriver/src | |
parent | 592c0d89f865c44e6909e0ca1e9d0c550be890b4 (diff) |
duplicate code removed
Diffstat (limited to 'plugins/Scriver/src')
-rw-r--r-- | plugins/Scriver/src/chat_window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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;
}
|