diff --git a/src/config/legacy/ConfigManager.cpp b/src/config/legacy/ConfigManager.cpp index 1b18b4a7d..37b819e32 100644 --- a/src/config/legacy/ConfigManager.cpp +++ b/src/config/legacy/ConfigManager.cpp @@ -1155,6 +1155,15 @@ std::string CConfigManager::getDeviceString(const std::string& dev, const std::s } SConfigOptionReply CConfigManager::getConfigValue(const std::string& val) { + if (val.starts_with("plugin:")) { + const auto VAL = m_config->getSpecialConfigValuePtr("plugin", val.substr(7).c_str(), nullptr); + + if (!VAL) + return {}; + + return {.dataptr = VAL->getDataStaticPtr(), .type = &VAL->getValue().type(), .setByUser = VAL->m_bSetByUser}; + } + const auto VAL = m_config->getConfigValuePtr(val.c_str()); if (!VAL) return {};