Fix the alias plugin
(broken during linkmauve refactoring)
This commit is contained in:
parent
db47dbbc46
commit
633d023a6c
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue