Some minor fixes and added the listfeaturesupport command

This commit is contained in:
WolverinDEV 2020-06-16 12:57:18 +02:00
parent d772aa050c
commit f11bee75c1

View File

@ -568,7 +568,7 @@ namespace ts {
name(std::move(name)),
description(std::move(description)),
clientSupported(clientSupported) {
this->grant_name = std::string() + (this->name[0] == 'i' ? "i" : "i") + "_needed_modify_power_" + this->name.substr(2);
this->grant_name = "i_needed_modify_power_" + this->name.substr(2);
}
};