diff --git a/src/server.cpp b/src/server.cpp index 5bd91477..6c57969b 100755 --- a/src/server.cpp +++ b/src/server.cpp @@ -1321,10 +1321,10 @@ void CServer::CreateOtherMuteStateChanged ( const int iCurChanID, const int iOtherChanID, const bool bIsMuted ) { - if ( vecChannels[iCurChanID].IsConnected() ) + if ( vecChannels[iOtherChanID].IsConnected() ) { // send message - vecChannels[iCurChanID].CreateMuteStateHasChangedMes ( iOtherChanID, bIsMuted ); + vecChannels[iOtherChanID].CreateMuteStateHasChangedMes ( iCurChanID, bIsMuted ); } }