summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/irc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/irc.py b/plugins/irc.py
index 10ff5bc9..eeef128c 100644
--- a/plugins/irc.py
+++ b/plugins/irc.py
@@ -375,7 +375,7 @@ class Plugin(BasePlugin):
conversation, a warning is displayed and None is returned
"""
gateway = self.config.get('gateway', 'irc.poez.io')
- current = self.core.current_tab()
+ current = self.api.current_tab()
current_jid = common.safeJID(current.name)
if not current_jid.server == gateway:
self.api.information(