* Resp DONT to WONT NEW-ENVIRONMENT

This commit is contained in:
Bryan Ashby 2016-07-10 22:14:30 -06:00
parent d028cbfc6b
commit dfb4f17c5f
1 changed files with 5 additions and 1 deletions

View File

@ -538,7 +538,11 @@ TelnetClient.prototype.handleWillCommand = function(evt) {
}; };
TelnetClient.prototype.handleWontCommand = function(evt) { TelnetClient.prototype.handleWontCommand = function(evt) {
if('new environment' === evt.option) {
this.dont.new_environment();
} else {
this.connectionDebug(evt, 'WONT'); this.connectionDebug(evt, 'WONT');
}
}; };
TelnetClient.prototype.handleDoCommand = function(evt) { TelnetClient.prototype.handleDoCommand = function(evt) {