summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-01-11 18:13:32 +0100
committermathieui <mathieui@mathieui.net>2012-01-11 18:13:32 +0100
commit92d96f3f36cebd0ffb39e703c08af369e70b78fc (patch)
tree52fc0fa95548a223c99c631842b30e2566bc2047 /plugins
parentb2d050a671a1f8d9bd3f46642432afa02db5c78c (diff)
downloadpoezio-92d96f3f36cebd0ffb39e703c08af369e70b78fc.tar.gz
poezio-92d96f3f36cebd0ffb39e703c08af369e70b78fc.tar.bz2
poezio-92d96f3f36cebd0ffb39e703c08af369e70b78fc.tar.xz
poezio-92d96f3f36cebd0ffb39e703c08af369e70b78fc.zip
Fix the alias plugin
Diffstat (limited to 'plugins')
-rw-r--r--plugins/alias.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/alias.py b/plugins/alias.py
index 2517e2b9..d6a46b6f 100644
--- a/plugins/alias.py
+++ b/plugins/alias.py
@@ -21,7 +21,7 @@ class Plugin(BasePlugin):
if alias in self.core.commands or alias in self.commands:
self.core.information('Alias: command already exists', 'Error')
return
- self.commands[alias] = lambda args: self.get_command(command)(parse(common.shell_split(args), tmp_args))
+ self.commands[alias] = lambda arg: self.get_command(command)(parse(arg, tmp_args))
self.add_command(alias, self.commands[alias], 'This command is an alias for /%s %s' %( command, tmp_args))
self.core.information('Alias /%s successfuly created' % alias, 'Info')