Fix echo-message regression from 1.6.x

This patch prevents PRIVMSGs from clients frmo being echoed to other clients if their target has the status prefix.
This commit is contained in:
Nobody Atoll
2018-04-12 18:34:15 -04:00
parent d6bfe504ae
commit 55d44c21a7
-1
View File
@@ -1241,7 +1241,6 @@ bool CClient::OnTextMessage(CTextMessage& Message) {
}
if (sTarget.TrimPrefix(m_pUser->GetStatusPrefix())) {
EchoMessage(Message);
if (sTarget.Equals("status")) {
CString sMsg = Message.GetText();
UserCommand(sMsg);