summary refs log tree commit diff
path: root/gateway/src/events/Connection.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 13:00:49 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 13:00:49 +0200
commit0157028af53b10362387062ec5a37acaf55d0daa (patch)
treea2ca1832b9d783d2fa9653161024316d152dbc2c /gateway/src/events/Connection.ts
parent:sparkles: event emit (diff)
downloadserver-0157028af53b10362387062ec5a37acaf55d0daa.tar.xz
abstract Event emission
Diffstat (limited to 'gateway/src/events/Connection.ts')
-rw-r--r--gateway/src/events/Connection.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/gateway/src/events/Connection.ts b/gateway/src/events/Connection.ts

index 1ef9fb48..5fbcbff5 100644 --- a/gateway/src/events/Connection.ts +++ b/gateway/src/events/Connection.ts
@@ -40,6 +40,7 @@ export async function Connection(this: Server, socket: WebSocket, request: Incom socket.deflate.on("data", (chunk) => socket.send(chunk)); } + socket.events = {}; socket.permissions = {}; socket.sequence = 0;