mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 09:46:32 +01:00
Fix posing (for real this time.)
This commit is contained in:
parent
1bbffe99a8
commit
eacdf8b33c
1 changed files with 5 additions and 2 deletions
|
|
@ -203,8 +203,11 @@ def match_alias(command):
|
|||
Convenience sub-function to combine the lopped off command string
|
||||
and arguments for posing, saying, and nospace posing aliases.
|
||||
"""
|
||||
return "%s %s" % (command.command_string[1:],
|
||||
command.command_argument)
|
||||
if not command.command_argument:
|
||||
return command.command_string[1:]
|
||||
else:
|
||||
return "%s %s" % (command.command_string[1:],
|
||||
command.command_argument)
|
||||
|
||||
# Match against the single-character aliases of MUX/MUSH-dom.
|
||||
first_char = command.command_string[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue