Fix getServer returning undefined variable rather than null if no servers are specified

This commit is contained in:
wltsmrz
2014-08-12 11:13:21 -07:00
parent 0d3bc96672
commit a292c2841c

View File

@@ -814,7 +814,7 @@ Remote.prototype.getServer = function() {
}
if (!this._servers.length) {
return result;
return null;
}
var connectedServers = this.getConnectedServers();