summaryrefslogtreecommitdiff
path: root/poezio/plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/plugin.py')
-rw-r--r--poezio/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/plugin.py b/poezio/plugin.py
index 359f1148..016d3199 100644
--- a/poezio/plugin.py
+++ b/poezio/plugin.py
@@ -204,7 +204,7 @@ class PluginAPI(object):
:returns: The current tab.
"""
- return self.core.current_tab()
+ return self.core.tabs.current_tab
def get_status(self, _):
"""
@@ -221,7 +221,7 @@ class PluginAPI(object):
:param str line: The command to run.
"""
- return self.core.current_tab().execute_command(*args, **kwargs)
+ return self.core.tabs.current_tab.execute_command(*args, **kwargs)
def all_tabs(self, _):
"""