From 633d023a6ca21eea97ba0da55f0d91439eb6f9c1 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 24 Jun 2016 19:14:14 +0200 Subject: Fix the alias plugin (broken during linkmauve refactoring) --- plugins/alias.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/alias.py b/plugins/alias.py index 3f7e5331..3f476b64 100644 --- a/plugins/alias.py +++ b/plugins/alias.py @@ -150,9 +150,9 @@ class Plugin(BasePlugin): if name in self.commands: return dummy elif name in self.core.commands: - return self.core.commands[name][0] + return self.core.commands[name].func elif name in self.api.current_tab().commands: - return self.api.current_tab().commands[name][0] + return self.api.current_tab().commands[name].func return dummy def split_args(line): -- cgit v1.2.3