diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 19:01:48 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-17 19:01:48 +1100 |
commit | 64596a7f3ce13be959db9c90a902b237aa45db3d (patch) | |
tree | a538656e76b37a79c049be4fd9eb8146fdab7950 | |
parent | comments and such (diff) | |
download | server-64596a7f3ce13be959db9c90a902b237aa45db3d.tar.xz |
Remove IP logging from gateway
-rw-r--r-- | src/gateway/events/Connection.ts | 6 | ||||
-rw-r--r-- | src/gateway/opcodes/Identify.ts | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gateway/events/Connection.ts b/src/gateway/events/Connection.ts index 8747e3ad..ee75212f 100644 --- a/src/gateway/events/Connection.ts +++ b/src/gateway/events/Connection.ts @@ -35,9 +35,9 @@ export async function Connection( socket.on("close", Close); // @ts-ignore socket.on("message", Message); - console.log( - `[Gateway] New connection from ${socket.ipAddress}, total ${this.clients.size}`, - ); + // console.log( + // `[Gateway] New connection from ${socket.ipAddress}, total ${this.clients.size}`, + // ); const { searchParams } = new URL(`http://localhost${request.url}`); // @ts-ignore diff --git a/src/gateway/opcodes/Identify.ts b/src/gateway/opcodes/Identify.ts index 60b5da4c..422261f7 100644 --- a/src/gateway/opcodes/Identify.ts +++ b/src/gateway/opcodes/Identify.ts @@ -312,5 +312,5 @@ export async function onIdentify(this: WebSocket, data: Payload) { await setupListener.call(this); - console.log(`${this.ipAddress} identified as ${d.user.id}`); + // console.log(`${this.ipAddress} identified as ${d.user.id}`); } |