1
0
Fork 0

[alias] Forward command keywords

This commit is contained in:
nemunaire 2015-11-14 15:47:08 +01:00
parent f27347f028
commit 7ae7e381c3
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ def treat_alias(msg):
args = shlex.split(txt)
except ValueError:
args = txt.split(' ')
nmsg = Command(args[0], replace_variables(args[1:], msg) + msg.args, **msg.export_args())
nmsg = Command(args[0], args=replace_variables(args[1:], msg) + msg.args, kwargs=msg.kwargs, **msg.export_args())
# Avoid infinite recursion
if msg.cmd != nmsg.cmd: