diff --git a/sources/Users/ACommandUserGroups.uc b/sources/Users/ACommandUserGroups.uc index 77c0e22..d5982c2 100644 --- a/sources/Users/ACommandUserGroups.uc +++ b/sources/Users/ACommandUserGroups.uc @@ -22,7 +22,6 @@ class ACommandUserGroups extends Command protected function BuildData(CommandDataBuilder builder) { - builder.Name(P("usergroups")); builder.Group(P("admin")); builder.Summary(P("User groups management.")); builder.Describe(P("Allows to add/remove user groups and users to these: groups. Changes made" @@ -77,7 +76,7 @@ protected function BuildData(CommandDataBuilder builder) builder.Describe(P("Allows to force usage of invalid user IDs.")); } -protected function Executed(CallData arguments, EPlayer instigator) +protected function Executed(CallData arguments, EPlayer instigator, CommandPermissions permissions) { local bool forceOption; local Text groupName, userID, userName, annotation; @@ -653,6 +652,6 @@ private function DisplayUsersFor(Text groupName) } } -defaultproperties -{ +defaultproperties { + preferredName = "usergroups" } \ No newline at end of file