mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 08:16:30 +01:00
Red button commands lacked proper locks, causing non-privileged chars to not have access. Fixed.
This commit is contained in:
parent
a3e4e44a61
commit
f950cd8b94
3 changed files with 14 additions and 7 deletions
|
|
@ -49,7 +49,6 @@ def cmdparser(raw_string, cmdset, caller, match_index=None):
|
|||
matches.extend([create_match(cmdname, raw_string, cmd)
|
||||
for cmdname in [cmd.key] + cmd.aliases
|
||||
if cmdname and l_raw_string.startswith(cmdname.lower())])
|
||||
|
||||
if not matches:
|
||||
# no matches found.
|
||||
if '-' in raw_string:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue