diff --git a/core/servers/login/telnet.js b/core/servers/login/telnet.js index 39f8abbb..cf90b92f 100644 --- a/core/servers/login/telnet.js +++ b/core/servers/login/telnet.js @@ -90,13 +90,7 @@ class TelnetClient { }); this.socket.on('WONT', command => { - switch (command.option) { - case Options.NEW_ENVIRON : - return this.socket.dont.new_environ(); - - default : - return this._logTrace(command, 'WONT'); - } + return this._logTrace(command, 'WONT'); }); this.socket.on('SB', command => { diff --git a/yarn.lock b/yarn.lock index 12199dfe..fb655a43 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1840,10 +1840,10 @@ tar@^4: safe-buffer "^5.1.2" yallist "^3.0.2" -telnet-socket@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/telnet-socket/-/telnet-socket-0.2.1.tgz#1b7d74152a90740a630c166070ab6e751f50fda1" - integrity sha512-8o5kIq5CGvaEuVbVTl40Lw9NCz2v68Il2Skb7iMLuid23kWV3Sq5AAg5lIl5o0H7agoJkEGNlmMRp/6+saDaNA== +telnet-socket@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/telnet-socket/-/telnet-socket-0.2.2.tgz#9abf29bbd022f2bc1176fd35ab62ca94e62916c1" + integrity sha512-fKcpbCNn8NQ1wBshjliTLh4UmbXq0iYhoPsc48RTJfgdisxQOyLJe8dMwH26ezx03pEM4GWpg9ge+g4DGz7c/Q== dependencies: binary-parser "1.6.2" buffers "github:NuSkooler/node-buffers"