From fc35cffb98025f5d23df07f1dd249561c1d5f78c Mon Sep 17 00:00:00 2001 From: Griatch Date: Thu, 1 Oct 2009 23:33:57 +0000 Subject: [PATCH] A commit activating the auto_help for @chperm. --- src/commands/privileged.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands/privileged.py b/src/commands/privileged.py index 884005c811..68f95b559b 100644 --- a/src/commands/privileged.py +++ b/src/commands/privileged.py @@ -257,17 +257,17 @@ GLOBAL_CMD_TABLE.add_command("@shutdown", cmd_shutdown, def cmd_chperm(command): """@chperm - Usage: @chperm[/switch] [] = [] Switches: add : add a permission from del : delete a permission from - list : list all permissions set on + list : list all permissions, or those set on @chperm (change permission) sets/clears individual permission bits on a user. - Use /list without any arguments to see all available permissions. + Use /list without any arguments to see all available permissions or those + defined on the argument. """ source_object = command.source_object args = command.command_argument @@ -376,5 +376,5 @@ def cmd_chperm(command): obj.emit_to("%s removed your permission '%s'." % (source_object.get_name(show_dbref=False,no_ansi=True), permission.name)) GLOBAL_CMD_TABLE.add_command("@chperm", cmd_chperm, - priv_tuple=("auth.change_permission",)) + priv_tuple=("auth.change_permission",), auto_help=True, staff_help=True)