mirror of
https://github.com/znc/znc.git
synced 2026-08-10 10:52:59 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user