Merge 3f76d62211 into 9dace2501c
This commit is contained in:
commit
258aac510a
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ module.exports = function (socket) {
|
|||
conn.on('banner', function (d) {
|
||||
// need to convert to cr/lf for proper formatting
|
||||
d = d.replace(/\r?\n/g, '\r\n')
|
||||
socket.emit('data', d.toString('binary'))
|
||||
socket.emit('data', d.toString('utf-8'))
|
||||
})
|
||||
|
||||
conn.on('ready', function () {
|
||||
|
|
|
|||
Loading…
Reference in a new issue