projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make command actions implicit
[mudpy.git]
/
mudpy
/
misc.py
diff --git
a/mudpy/misc.py
b/mudpy/misc.py
index
045e6a5
..
e76b4dd
100644
(file)
--- 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
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
try:
action = getattr(action, component)
ran = True