merge-requests/6/head
Matthew 2021-08-09 14:41:20 -04:00
parent 760337a181
commit cc4cd3d06c
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 2 deletions

View File

@ -29,8 +29,7 @@ export default class Context {
} }
public send(v: string) { public send(v: string) {
console.log(this.socket.write); this.socket.write(`${v.toString()}\r\n`, (err) => {
this.socket.write(`${v.toString()}\n`, (err) => {
if (err) { if (err) {
this.client.signale.error(`Error occurred while writing: ${err}`); this.client.signale.error(`Error occurred while writing: ${err}`);
} }