refactor: don't create unnecessary reference

This commit is contained in:
Paul Makles
2023-09-05 12:54:43 +01:00
committed by Paul Makles
parent c5494aa1ca
commit 39ac8b2278

View File

@@ -96,7 +96,7 @@ pub async fn req(
// Queue up a task for processing embeds if the we have sufficient permissions
if permissions
.has_permission(&db, Permission::SendEmbeds)
.has_permission(db, Permission::SendEmbeds)
.await?
{
if let Some(content) = edit.content {