summaryrefslogtreecommitdiff
path: root/bot/src/commands/lua.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bot/src/commands/lua.cpp')
-rw-r--r--bot/src/commands/lua.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/src/commands/lua.cpp b/bot/src/commands/lua.cpp
index 9e84f8e..0033cc5 100644
--- a/bot/src/commands/lua.cpp
+++ b/bot/src/commands/lua.cpp
@@ -1007,6 +1007,8 @@ namespace bot::command::lua {
this->level = schemas::PermissionLevel::BROADCASTER;
} else if (rights_text == "trusted") {
this->level = schemas::PermissionLevel::TRUSTED;
+ } else if (rights_text == "superuser") {
+ this->level = schemas::PermissionLevel::SUPERUSER;
} else {
this->level = schemas::PermissionLevel::USER;
}