diff options
author | George Hazan <ghazan@miranda.im> | 2021-03-27 12:45:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-03-27 12:45:28 +0300 |
commit | fe9692f49580dcefa033524caf19e04ab074da19 (patch) | |
tree | ffaf28439363829b96a3502dea0728015d2d4951 /protocols/IRCG/src/tools.cpp | |
parent | 729c3fb4042bf334c94eff81aea4b45ce21719b1 (diff) |
IRCG:
- fixes #2810 (own messages are invisible);
- fixes #2809 (Perform on Event' broken);
- code cleaning
Diffstat (limited to 'protocols/IRCG/src/tools.cpp')
-rw-r--r-- | protocols/IRCG/src/tools.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/protocols/IRCG/src/tools.cpp b/protocols/IRCG/src/tools.cpp index e0ebfd64fe..6cc196b42c 100644 --- a/protocols/IRCG/src/tools.cpp +++ b/protocols/IRCG/src/tools.cpp @@ -500,7 +500,7 @@ void CIrcProto::KillChatTimer(UINT_PTR &nIDEvent) /////////////////////////////////////////////////////////////////////////////////////////
-int CIrcProto::SetChannelSBText(CMStringW sWindow, CHANNELINFO * wi)
+int CIrcProto::SetChannelSBText(CMStringW sWindow, CHANNELINFO *wi)
{
CMStringW sTemp = L"";
if (wi->pszMode) {
@@ -515,13 +515,6 @@ int CIrcProto::SetChannelSBText(CMStringW sWindow, CHANNELINFO * wi) return 0;
}
-CMStringW CIrcProto::MakeWndID(const wchar_t* sWindow)
-{
- wchar_t buf[200];
- mir_snwprintf(buf, L"%s - %s", sWindow, (IsConnected()) ? m_tszUserName : TranslateT("Offline"));
- return CMStringW(buf);
-}
-
bool CIrcProto::FreeWindowItemData(CMStringW window, CHANNELINFO *wis)
{
CHANNELINFO *wi;
|