added no detection when statistics option enabled. #341

This commit is contained in:
DustInDark
2021-12-23 11:33:10 +09:00
parent 88b7593ea9
commit 6b5283b28b
2 changed files with 17 additions and 5 deletions

View File

@@ -47,6 +47,11 @@ lazy_static! {
.args
.is_present("quiet-errors");
pub static ref ERROR_LOG_STACK: Mutex<Vec<String>> = Mutex::new(Vec::new());
pub static ref STATISTICS_FLAG: bool = configs::CONFIG
.read()
.unwrap()
.args
.is_present("statistics");
}
impl Message {