mirror of
https://github.com/evennia/evennia.git
synced 2026-03-20 14:56:30 +01:00
Make CmdHelp check the view lock to exclude commands from listing
This commit is contained in:
parent
8274a4c05b
commit
8f232f23c3
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.
|
||||
|
||||
"""
|
||||
return True
|
||||
return cmd.access(caller, "view", default=True)
|
||||
|
||||
def parse(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue