summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-01 07:10:44 -0500
committerseth <[email protected]>2023-12-01 07:12:49 -0500
commitf997cbdaea8364880f3a9b3743131c0ab5a60534 (patch)
tree5ab827d5827d27d9f0ff6770b1dfcd210904f243 /src/commands
parent85402f9103b55dff65c6a6079c6902080e5a30a6 (diff)
fix: report user agent in /version correctly
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/version.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/version.rs b/src/commands/version.rs
index c5e97f9..8d9a1f3 100644
--- a/src/commands/version.rs
+++ b/src/commands/version.rs
@@ -22,7 +22,7 @@ pub async fn version(ctx: Context<'_>) -> Result<()> {
false,
),
("Revision:", &revision_url, false),
- ("User Agent:", crate::api::USER_AGENT, false),
+ ("User Agent:", &crate::api::USER_AGENT, false),
];
ctx.send(|c| {