Skip to content

Commit

Permalink
#215 Fix users crashing the skchat when banned
Browse files Browse the repository at this point in the history
  • Loading branch information
7PH committed Nov 12, 2024
1 parent eadf6de commit e316603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/server/skychat/PluginManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class PluginManager {
connection.on('binary-message', this.onConnectionBinary.bind(this, connection));
connection.on('message', this.onConnectionMessage.bind(this, connection));

this.executeNewConnectionHook(connection, event);
await this.executeNewConnectionHook(connection, event);
connection.webSocket.on('close', () => {
this.executeConnectionClosedHook(connection);
});
Expand Down

0 comments on commit e316603

Please sign in to comment.