diff --git a/bin/digd.js b/bin/digd.js index 21f0bfb..f8df004 100755 --- a/bin/digd.js +++ b/bin/digd.js @@ -67,12 +67,6 @@ cli.main(function (args, cli) { } }); - if (!cli.tcp) { - if (!cli.notcp) { - console.info("[WARNING] Set '+notcp' to disable tcp connections. The default behavior changes to +tcp in v1.3"); - } - } - if (cli.mdns) { if (!cli.type) { cli.type = cli.t = 'PTR'; @@ -406,7 +400,7 @@ cli.main(function (args, cli) { } } }); - if (cli.tcp /* TODO v1.3 !cli.notcp */) { + if (!cli.notcp) { require('../lib/tcpd.js').create(cli, dnsd); }