add rar and zip to prohibited extensions
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
use std::collections::LinkedList;
|
||||
use std::fs;
|
||||
use std::sync::RwLock;
|
||||
#[cfg(not(test))]
|
||||
use std::fs;
|
||||
|
||||
#[cfg(not(debug_assertions))]
|
||||
const ALLOW_PATH: &str = "/opt/mini_admin_bot/allow_users";
|
||||
|
||||
Reference in New Issue
Block a user