mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-10-23 05:32:22 +00:00
feat: Restrict where certain admin commands may be used
This commit is contained in:
1 parent
442f887c98
commit
c565e6ffbc
13 files changed
+185
-92
No files matched your search
@@ -59,6 +59,7 @@ async fn process_command(services: Arc<Services>, input: &CommandInput) -> Proce
|
||||
reply_id: input.reply_id.as_deref(),
|
||||
sender: input.sender.as_deref(),
|
||||
output: BufWriter::new(Vec::new()).into(),
|
||||
source: input.source,
|
||||
};
|
||||
|
||||
let (result, mut logs) = process(&context, command, &args).await;
|
||||
|
||||
Reference in new issue
Block a user