mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 15:37:17 +02:00
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.
|
||||
|
||||
"""
|
||||
return True
|
||||
return cmd.access(caller, "view", default=True)
|
||||
|
||||
def parse(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue