mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 22:17:17 +02:00
Made get_and_merge_cmdsets visible to default cmds.
This commit is contained in:
parent
d44dd92b5f
commit
c728524c72
1 changed files with 2 additions and 2 deletions
|
|
@ -81,7 +81,7 @@ class ExecSystemCommand(Exception):
|
|||
# Helper function
|
||||
|
||||
@inlineCallbacks
|
||||
def _get_and_merge_cmdsets(caller):
|
||||
def get_and_merge_cmdsets(caller):
|
||||
"""
|
||||
Gather all relevant cmdsets and merge them. Note
|
||||
that this is only relevant for logged-in callers.
|
||||
|
|
@ -171,7 +171,7 @@ def cmdhandler(caller, raw_string, testing=False):
|
|||
try: # catch bugs in cmdhandler itself
|
||||
try: # catch special-type commands
|
||||
|
||||
cmdset = yield _get_and_merge_cmdsets(caller)
|
||||
cmdset = yield get_and_merge_cmdsets(caller)
|
||||
if not cmdset:
|
||||
# this is bad and shouldn't happen.
|
||||
raise NoCmdSets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue