Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion src/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1533,7 +1533,7 @@ void CServer::GetConCliParam ( CVector<CHostAddress>& 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();
Expand Down
Loading