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

View File

@ -29,7 +29,7 @@ export default class Context {
} }
public send(v: string) { public send(v: string) {
console.log(this.socket); console.log(this.socket.write);
this.socket.write(`${v.toString()}\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}`);