debug message printing when you are trying to connect to an online server without credentials

This commit is contained in:
Xabier de Zuazo 2013-04-07 12:02:31 +02:00
parent a9afd32ad3
commit bcef115c07

View file

@ -267,6 +267,9 @@ function createClient(options) {
if (haveCredentials) {
joinServerRequest(onJoinServerResponse);
} else {
if (packet.serverId != '-') {
debug('This server appears to be an online server and you are providing no password, the authentication will probably fail');
}
sendEncryptionKeyResponse();
}