summaryrefslogtreecommitdiff
path: root/plugins/otr.py
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-03-31 23:24:58 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-06-12 14:33:39 +0100
commitc1be52847bae48215a8e5589b3a3b94bc1bb913c (patch)
tree36c1cbad9a615d404a345cbdb8309519c98e5185 /plugins/otr.py
parent37cd7d1924e666dada17bd691d7eb4894eb51a4e (diff)
downloadpoezio-c1be52847bae48215a8e5589b3a3b94bc1bb913c.tar.gz
poezio-c1be52847bae48215a8e5589b3a3b94bc1bb913c.tar.bz2
poezio-c1be52847bae48215a8e5589b3a3b94bc1bb913c.tar.xz
poezio-c1be52847bae48215a8e5589b3a3b94bc1bb913c.zip
Fix core commands, broken in the previous commit.
Diffstat (limited to 'plugins/otr.py')
-rw-r--r--plugins/otr.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/otr.py b/plugins/otr.py
index 2d59d544..72c80093 100644
--- a/plugins/otr.py
+++ b/plugins/otr.py
@@ -810,7 +810,7 @@ class Plugin(BasePlugin):
"""
args = common.shell_split(arg)
if not args:
- return self.core.command_help('otr')
+ return self.core.command.help('otr')
action = args.pop(0)
tab = self.api.current_tab()
name = tab.name
@@ -920,7 +920,7 @@ class Plugin(BasePlugin):
/otrsmp <ask|answer|abort> [question] [secret]
"""
if args is None or not args:
- return self.core.command_help('otrsmp')
+ return self.core.command.help('otrsmp')
length = len(args)
action = args.pop(0)
if length == 2: