X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=mudpy%2Fcommand.py;h=95fb793d3f7e25fcf92b36b81ea95e1756658002;hp=1138aa85370545c848e06bb7de5992fec495a13f;hb=de65a162dc402df0e052c9a6e79a533a00036902;hpb=641a045ea5407a56626c7ea718efc7bbf5152ba1 diff --git a/mudpy/command.py b/mudpy/command.py index 1138aa8..95fb793 100644 --- a/mudpy/command.py +++ b/mudpy/command.py @@ -148,10 +148,7 @@ def help(actor, parameters): if parameters and actor.owner: # is the command word one for which we have data? - if parameters in actor.universe.groups["command"]: - command = actor.universe.groups["command"][parameters] - else: - command = None + command = mudpy.misc.find_command(parameters) # only for allowed commands if actor.can_run(command):