X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=mudpy%2Fmisc.py;h=e76b4dd3b65d9083f8be8c68862b439498015eac;hp=045e6a55ed24c67fd3644ec36f7dab1102f50804;hb=1ebcab5d26b7e3b482edf97ca0c1134323d858c9;hpb=0ea37930939961ec4b045db07921aa4f5a1ba30c diff --git a/mudpy/misc.py b/mudpy/misc.py index 045e6a5..e76b4dd 100644 --- a/mudpy/misc.py +++ b/mudpy/misc.py @@ -1893,7 +1893,7 @@ def handler_active(user): if actor.can_run(command): # dereference the relative object path for the requested function action = mudpy - for component in command.get("action").split("."): + for component in command.get("action", command.key).split("."): try: action = getattr(action, component) ran = True