Fixed ProvidesChannel() on client always returning true since the new timeout

option has been added.
This commit is contained in:
Frank Schmirler
2012-03-10 23:28:53 +01:00
parent 83b05a6292
commit 173d2cbb7a
2 changed files with 3 additions and 1 deletions

View File

@@ -192,7 +192,7 @@ bool cClientSocket::ProvidesChannel(const cChannel *Channel, int Priority) {
command.c_str(), RemoteIp().c_str(), RemotePort(), buffer.c_str());
return false;
}
return true;
return code == 220;
}
bool cClientSocket::CreateDataConnection(eSocketId Id) {