Rely on pty.js, minor updates to area changing logic

This commit is contained in:
Bryan Ashby 2015-08-18 23:11:13 -06:00
parent c9a24b7ec8
commit d3f82e38da
5 changed files with 25 additions and 16 deletions

View file

@ -75,6 +75,12 @@ function changeCurrentArea(client, areaId, cb) {
}
],
function complete(err) {
if(!err) {
client.log.info( { areaId : areaId }, 'Current message area changed');
} else {
client.log.warn( { areaId : areaId, error : err.message }, 'Could not change message area');
}
cb(err);
}
);