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
|
Convenience sub-function to combine the lopped off command string
|
||||||
and arguments for posing, saying, and nospace posing aliases.
|
and arguments for posing, saying, and nospace posing aliases.
|
||||||
"""
|
"""
|
||||||
return "%s %s" % (command.command_string[1:],
|
if not command.command_argument:
|
||||||
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.
|
# Match against the single-character aliases of MUX/MUSH-dom.
|
||||||
first_char = command.command_string[0]
|
first_char = command.command_string[0]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue