Make CmdHelp check the view lock to exclude commands from listing
This commit is contained in:
parent
fd46257a2b
commit
5a0f698ad5
1 changed files with 1 additions and 1 deletions
|
|
@ -175,7 +175,7 @@ class CmdHelp(Command):
|
||||||
False: the command shouldn't appear in the table.
|
False: the command shouldn't appear in the table.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
return True
|
return cmd.access(caller, "view", default=True)
|
||||||
|
|
||||||
def parse(self):
|
def parse(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue