diff --git a/src/channel.h b/src/channel.h index 096a88c9e9..ff813aca82 100644 --- a/src/channel.h +++ b/src/channel.h @@ -78,6 +78,7 @@ class CChannel : public QObject void ResetTimeOutCounter() { iConTimeOut = iConTimeOutStartVal; } bool IsConnected() const { return iConTimeOut > 0; } + bool IsIdentified() const { return bIsIdentified; } void Disconnect(); void SetEnable ( const bool bNEnStat ); diff --git a/src/server.cpp b/src/server.cpp index d6cd2bf0cc..f3e71887a6 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1533,7 +1533,7 @@ void CServer::GetConCliParam ( CVector& vecHostAddresses, // check all possible channels for ( int i = 0; i < iMaxNumChannels; i++ ) { - if ( vecChannels[i].IsConnected() ) + if ( vecChannels[i].IsConnected() && vecChannels[i].IsIdentified() ) { // get requested data vecHostAddresses[i] = vecChannels[i].GetAddress();