remove line
This commit is contained in:
@@ -108,7 +108,6 @@ impl RatelimitState {
|
|||||||
pub fn new() -> Self {
|
pub fn new() -> Self {
|
||||||
let mut hashmap = HashMap::new();
|
let mut hashmap = HashMap::new();
|
||||||
hashmap.insert("message_send", RatelimitMapping::new(10, 10));
|
hashmap.insert("message_send", RatelimitMapping::new(10, 10));
|
||||||
hashmap.insert("root", RatelimitMapping::new(10, 10));
|
|
||||||
let arc = Arc::new(Mutex::new(hashmap));
|
let arc = Arc::new(Mutex::new(hashmap));
|
||||||
RatelimitState(arc)
|
RatelimitState(arc)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user