mirror of
https://git.sr.ht/~emerson/reflectionircd
synced 2025-04-13 09:59:52 +00:00
explicitly close connection
This commit is contained in:
parent
ccbd3cfc1a
commit
e9fb5348d1
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ export class IRCClient extends Client {
|
|||
constructor(private socket: Socket , public server: IRCServer) {
|
||||
super(server);
|
||||
this.socket.on('data', (data) => this.receiveData(data));
|
||||
//this.socket.on('close', (e) => {if (this.user) this.user.handleClientClose(this, e)});
|
||||
this.socket.on('close', (e) => {this.closeConnection()});
|
||||
this.server.doLog("New IRCClient connected");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue