summaryrefslogtreecommitdiff
path: root/client/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/socket.c')
-rw-r--r--client/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/socket.c b/client/socket.c
index 727ffb6..5662716 100644
--- a/client/socket.c
+++ b/client/socket.c
@@ -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) {