From 59d6a12a7e06a579a364ea93eca957a70be74081 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 29 Oct 2023 22:35:26 +0000 Subject: [PATCH] config: fixup usage of plugin in handles would filter calls to keyword plugin: and stuff --- src/config/ConfigManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index 3d4d265a..5d116128 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1384,10 +1384,10 @@ std::string CConfigManager::parseKeyword(const std::string& COMMAND, const std:: handleBlurLS(COMMAND, VALUE); else if (COMMAND == "wsbind") handleBindWS(COMMAND, VALUE); + else if (COMMAND == "plugin") + handlePlugin(COMMAND, VALUE); else if (COMMAND.starts_with("env")) handleEnv(COMMAND, VALUE); - else if (COMMAND.starts_with("plugin")) - handlePlugin(COMMAND, VALUE); else { // try config const auto IT = std::find_if(pluginKeywords.begin(), pluginKeywords.end(), [&](const auto& other) { return other.name == COMMAND; });