From 139249c1de2e5b4414f3c062f79ee4c4a8611d13 Mon Sep 17 00:00:00 2001 From: Kenneth Endfinger Date: Fri, 24 Dec 2021 02:02:04 -0500 Subject: [PATCH] Core: Properly register leaderboard under lb as well. --- .../kubelet/foundation/core/features/stats/StatsFeature.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/foundation-core/src/main/kotlin/cloud/kubelet/foundation/core/features/stats/StatsFeature.kt b/foundation-core/src/main/kotlin/cloud/kubelet/foundation/core/features/stats/StatsFeature.kt index 45be4d6..4a790f7 100644 --- a/foundation-core/src/main/kotlin/cloud/kubelet/foundation/core/features/stats/StatsFeature.kt +++ b/foundation-core/src/main/kotlin/cloud/kubelet/foundation/core/features/stats/StatsFeature.kt @@ -15,7 +15,7 @@ class StatsFeature : Feature() { override fun enable() { chatLogStore = persistence.value.store("chat-logs") - registerCommandExecutor("leaderboard", LeaderboardCommand()) + registerCommandExecutor(listOf("leaderboard", "lb"), LeaderboardCommand()) registerCommandExecutor("pstore", PersistentStoreCommand(this)) }