diff options
-rw-r--r-- | server/controllers/tracker.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/tracker.ts b/server/controllers/tracker.ts index d09b19cae..42a5d7f9b 100644 --- a/server/controllers/tracker.ts +++ b/server/controllers/tracker.ts | |||
@@ -31,7 +31,7 @@ const trackerServer = new TrackerServer({ | |||
31 | let ip: string | 31 | let ip: string |
32 | 32 | ||
33 | if (params.type === 'ws') { | 33 | if (params.type === 'ws') { |
34 | ip = params.socket.ip | 34 | ip = params.ip |
35 | } else { | 35 | } else { |
36 | ip = params.httpReq.ip | 36 | ip = params.httpReq.ip |
37 | } | 37 | } |