From 7ae7e381c331c2e83ebcf5f904cc58319df90b48 Mon Sep 17 00:00:00 2001 From: nemunaire Date: Sat, 14 Nov 2015 15:47:08 +0100 Subject: [PATCH] [alias] Forward command keywords --- modules/alias.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/alias.py b/modules/alias.py index c308608..24c8fa3 100644 --- a/modules/alias.py +++ b/modules/alias.py @@ -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: