summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/alias.py4
1 files changed, 2 insertions, 2 deletions
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):