From 0c58788f22058858d0cb1a9cbb81d650396cee04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Garapich?= Date: Fri, 1 Nov 2024 00:12:00 +0100 Subject: [PATCH] refactor: rename update-clients to sync-clients (#45) --- src/games/index.ts | 2 +- src/games/plugins/{update-clients.ts => sync-clients.ts} | 0 src/queue/index.ts | 2 +- src/queue/plugins/{update-clients.ts => sync-clients.ts} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename src/games/plugins/{update-clients.ts => sync-clients.ts} (100%) rename src/queue/plugins/{update-clients.ts => sync-clients.ts} (100%) diff --git a/src/games/index.ts b/src/games/index.ts index ab5f9792..85a6db67 100644 --- a/src/games/index.ts +++ b/src/games/index.ts @@ -14,7 +14,7 @@ export default fp( await app.register((await import('./plugins/match-event-listener')).default) await app.register((await import('./plugins/match-event-handler')).default) await app.register((await import('./plugins/game-log-collector')).default) - await app.register((await import('./plugins/update-clients')).default) + await app.register((await import('./plugins/sync-clients')).default) await app.register((await import('./routes')).default) }, { diff --git a/src/games/plugins/update-clients.ts b/src/games/plugins/sync-clients.ts similarity index 100% rename from src/games/plugins/update-clients.ts rename to src/games/plugins/sync-clients.ts diff --git a/src/queue/index.ts b/src/queue/index.ts index e7552f87..7e5abf83 100644 --- a/src/queue/index.ts +++ b/src/queue/index.ts @@ -19,7 +19,7 @@ export default fp( await app.register((await import('./plugins/gateway-listeners')).default) await app.register((await import('./plugins/kick-disconnected-players')).default) await app.register((await import('./plugins/auto-update-queue-state')).default) - await app.register((await import('./plugins/update-clients')).default) + await app.register((await import('./plugins/sync-clients')).default) await app.register((await import('./plugins/auto-reset')).default) await app.register((await import('./plugins/kick-replacement-players')).default) await app.register((await import('./plugins/kick-banned-players')).default) diff --git a/src/queue/plugins/update-clients.ts b/src/queue/plugins/sync-clients.ts similarity index 100% rename from src/queue/plugins/update-clients.ts rename to src/queue/plugins/sync-clients.ts