From a55aa56b62fcb48c9f7d6a6d3671036179f7492b Mon Sep 17 00:00:00 2001
From: prescientmoon <git@moonythm.dev>
Date: Wed, 12 Feb 2025 18:29:57 +0100
Subject: [PATCH] Fix `chart best` defaulting to local scores at all times

---
 src/commands/chart.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/commands/chart.rs b/src/commands/chart.rs
index 061a5a4..78508a1 100644
--- a/src/commands/chart.rs
+++ b/src/commands/chart.rs
@@ -290,7 +290,7 @@ async fn best(
 	name: String,
 ) -> Result<(), Error> {
 	ctx.defer().await?;
-	let res = best_impl(&mut ctx, &name, source.unwrap_or(DataSource::Local)).await;
+	let res = best_impl(&mut ctx, &name, source.unwrap_or_default()).await;
 	ctx.handle_error(res).await?;
 
 	Ok(())