ModulesManager #37
1 changed files with 6 additions and 1 deletions
|
@ -340,7 +340,12 @@ impl ModulesManager {
|
|||
//
|
||||
let statusvector = dbt.entry((in_module.clone(),in_modgroup.clone())).or_insert(Vec::new());
|
||||
|
||||
statusvector.push(ModStatusType::Enabled(StatusLvl::Instance)); // Pushes the Module as Enabled at Instance Level
|
||||
match in_modgroup {
|
||||
ModGroup::Core => statusvector.push(ModStatusType::Enabled(StatusLvl::Instance)) , // Pushes the Module as Enabled at Instance Level
|
||||
ModGroup::Custom => statusvector.push(ModStatusType::Disabled(StatusLvl::Instance)),
|
||||
}
|
||||
|
||||
// statusvector.push(ModStatusType::Enabled(StatusLvl::Instance)); // Pushes the Module as Enabled at Instance Level
|
||||
|
||||
let mut a = self.botactions.write().await;
|
||||
let modactions = a.entry(in_module.clone()).or_insert(Vec::new());
|
||||
|
|
Loading…
Reference in a new issue