diff --git a/src/client/setProtocol.js b/src/client/setProtocol.js index fe835c7..41ad123 100644 --- a/src/client/setProtocol.js +++ b/src/client/setProtocol.js @@ -15,7 +15,7 @@ module.exports = function (client, options) { function next () { let taggedHost = options.host if (client.tagHost) taggedHost += client.tagHost - if (client.fakeHost) taggedHost = options.fakeHost + if (options.fakeHost) taggedHost = options.fakeHost client.write('set_protocol', { protocolVersion: options.protocolVersion,