diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-10-29 22:35:26 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-10-29 22:35:26 +0000 |
| commit | 59d6a12a7e06a579a364ea93eca957a70be74081 (patch) | |
| tree | 4454f030737f37d59f6b36c9d01f9c4a50558eef /src/config/ConfigManager.cpp | |
| parent | 935c90915a8a143d1759c2bb6f0593a8aee6812b (diff) | |
config: fixup usage of plugin in handles
would filter calls to keyword plugin: and stuff
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 4 |
1 files 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; }); |
