refactor: don't create unnecessary reference
This commit is contained in:
1 parent
c5494aa1ca
commit
39ac8b2278
1 file changed
+1
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user