Allow monitor disabled too

This commit is contained in:
vaxerski 2022-04-17 10:21:54 +02:00
parent 4a966c945b
commit 4f83adcdb9

View file

@ -142,7 +142,7 @@ void CConfigManager::handleMonitor(const std::string& command, const std::string
nextItem(); nextItem();
if (curitem == "disable") { if (curitem == "disable" || curitem == "disabled") {
newrule.disabled = true; newrule.disabled = true;
m_dMonitorRules.push_back(newrule); m_dMonitorRules.push_back(newrule);