1eca51b follow-up, nuke command.permission from orbit; it was only duplicating data already stored in the core.

Port From (https://github.com/TrinityCore/TrinityCore/commit/46d4e2fa8378eed414c07eb161a19b772c474735)
This commit is contained in:
hondacrx
2022-06-09 16:27:15 -04:00
parent 8edba61e49
commit ed79f93c7b
48 changed files with 223 additions and 276 deletions
+6 -6
View File
@@ -22,7 +22,7 @@ using System;
namespace Game.Chat
{
[CommandGroup("server", RBACPermissions.CommandServer, true)]
[CommandGroup("server")]
class ServerCommands
{
[Command("corpses", RBACPermissions.CommandServerCorpses, true)]
@@ -230,7 +230,7 @@ namespace Game.Chat
return true;
}
[CommandGroup("idleRestart", RBACPermissions.CommandServerIdlerestart, true)]
[CommandGroup("idleRestart")]
class IdleRestartCommands
{
[Command("", RBACPermissions.CommandServerIdlerestart, true)]
@@ -249,7 +249,7 @@ namespace Game.Chat
}
}
[CommandGroup("idleshutdown", RBACPermissions.CommandServerIdleshutdown, true)]
[CommandGroup("idleshutdown")]
class IdleshutdownCommands
{
[Command("", RBACPermissions.CommandServerIdleshutdown, true)]
@@ -269,7 +269,7 @@ namespace Game.Chat
}
}
[CommandGroup("restart", RBACPermissions.CommandServerInfo, true)]
[CommandGroup("restart")]
class RestartCommands
{
[Command("", RBACPermissions.CommandServerRestart, true)]
@@ -295,7 +295,7 @@ namespace Game.Chat
}
}
[CommandGroup("shutdown", RBACPermissions.CommandServerMotd, true)]
[CommandGroup("shutdown")]
class ShutdownCommands
{
[Command("", RBACPermissions.CommandServerShutdown, true)]
@@ -321,7 +321,7 @@ namespace Game.Chat
}
}
[CommandGroup("set", RBACPermissions.CommandServerSet, true)]
[CommandGroup("set")]
class SetCommands
{
[Command("difftime", RBACPermissions.CommandServerSetDifftime, true)]