diff options
author | mathieui <mathieui@mathieui.net> | 2016-06-24 19:14:14 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2016-06-24 19:14:14 +0200 |
commit | 633d023a6ca21eea97ba0da55f0d91439eb6f9c1 (patch) | |
tree | bdd73eac7045c9782e5dce8f95fb83ebce82e33c | |
parent | db47dbbc46e1e6eeed2c485477bcabae177aee72 (diff) | |
download | poezio-633d023a6ca21eea97ba0da55f0d91439eb6f9c1.tar.gz poezio-633d023a6ca21eea97ba0da55f0d91439eb6f9c1.tar.bz2 poezio-633d023a6ca21eea97ba0da55f0d91439eb6f9c1.tar.xz poezio-633d023a6ca21eea97ba0da55f0d91439eb6f9c1.zip |
Fix the alias plugin
(broken during linkmauve refactoring)
-rw-r--r-- | plugins/alias.py | 4 |
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): |