Fix a traceback in the OTR plugin

This commit is contained in:
mathieui 2015-01-05 16:52:53 +01:00
parent 70536f4f0b
commit bd1c41472a
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -818,7 +818,7 @@ class Plugin(BasePlugin):
"""
args = common.shell_split(arg)
if not args:
return self.api.core.command_help('otr')
return self.core.command_help('otr')
action = args.pop(0)
tab = self.api.current_tab()
name = tab.name