Fix the /help command with commands of the current tab
This commit is contained in:
parent
ffcf65ec43
commit
30f9f2b055
1 changed files with 2 additions and 0 deletions
|
@ -999,6 +999,8 @@ class Core(object):
|
||||||
if len(args) >= 1:
|
if len(args) >= 1:
|
||||||
if args[0] in list(self.commands.keys()):
|
if args[0] in list(self.commands.keys()):
|
||||||
msg = self.commands[args[0]][1]
|
msg = self.commands[args[0]][1]
|
||||||
|
elif args[0] in list(self.current_tab().commands.keys()):
|
||||||
|
msg = self.current_tab().commands[args[0]][1]
|
||||||
else:
|
else:
|
||||||
msg = _('Unknown command: %s') % args[0]
|
msg = _('Unknown command: %s') % args[0]
|
||||||
self.information(msg)
|
self.information(msg)
|
||||||
|
|
Loading…
Reference in a new issue