diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:00:49 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:00:49 +0200 |
commit | 06fc341e2a6a34f13227a277cfc559b9e108befb (patch) | |
tree | 369885fe28a439891d5175249f8711fd09d39442 /gateway/src/events | |
parent | :sparkles: event emit (diff) | |
download | server-06fc341e2a6a34f13227a277cfc559b9e108befb.tar.xz |
abstract Event emission
Diffstat (limited to 'gateway/src/events')
-rw-r--r-- | gateway/src/events/Connection.ts | 1 |
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; |