From f11bee75c19b437513154a9dc1c9167c72e94427 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Tue, 16 Jun 2020 12:57:18 +0200 Subject: [PATCH] Some minor fixes and added the `listfeaturesupport` command --- src/PermissionManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PermissionManager.h b/src/PermissionManager.h index 0924373..8d1de53 100644 --- a/src/PermissionManager.h +++ b/src/PermissionManager.h @@ -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); } };