Commit 633d023a authored by mathieui's avatar mathieui
Browse files

Fix the alias plugin

(broken during linkmauve refactoring)
parent db47dbbc
......@@ -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):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment