mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 09:46:32 +01:00
Added caching for aliases.
This commit is contained in:
parent
1fa5791e19
commit
fb0d77c794
2 changed files with 19 additions and 37 deletions
|
|
@ -229,9 +229,8 @@ def at_multimatch_cmd(caller, matches):
|
|||
if is_channel:
|
||||
is_channel = " (channel)"
|
||||
else:
|
||||
is_channel = ""
|
||||
is_exit = hasattr(cmd, "is_exit") and cmd.is_exit
|
||||
if is_exit and cmd.destination:
|
||||
is_channel = ""
|
||||
if cmd.is_exit and cmd.destination:
|
||||
is_exit = " (exit to %s)" % cmd.destination
|
||||
else:
|
||||
is_exit = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue