summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/input.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-18 16:59:37 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-18 16:59:37 +0300
commit62ef4ddccfd98ae1a572af51fee6417e5f445035 (patch)
tree23b8c01a39ec0d932278beb01c6433997f80f04f /protocols/IRCG/src/input.cpp
parent02e206c830a95cc898741f9394702f4b58c78dca (diff)
fixes #4060 (Crash: Miranda crashes after /part command)
Diffstat (limited to 'protocols/IRCG/src/input.cpp')
-rw-r--r--protocols/IRCG/src/input.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/protocols/IRCG/src/input.cpp b/protocols/IRCG/src/input.cpp
index 386f1c1270..4245d8764f 100644
--- a/protocols/IRCG/src/input.cpp
+++ b/protocols/IRCG/src/input.cpp
@@ -844,9 +844,6 @@ bool CIrcProto::PostIrcMessageWnd(wchar_t *window, MCONTACT hContact, const wcha
continue;
}
- if (!W0.CompareNoCase(L"/PART"))
- Chat_Terminate(Chat_Find(GetWord(DoThis, 1), m_szModuleName));
-
// Do this if the message is not a command
if ((W0[0] != '/') || // not a command
(W0[0] == '/' && W0[1] == '/') || // or double backslash at the beginning