summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2018-08-23 21:35:28 +0200
committermathieui <mathieui@mathieui.net>2018-08-23 21:35:28 +0200
commit4463a0d5b50121c776b3e9af9b13fd1c6fe87db8 (patch)
treeec31bbcb01e857b5a866079981e28a0e37023075
parent1524245dd0c3bf63a31393bd1faf3df8f44e1c96 (diff)
downloadpoezio-4463a0d5b50121c776b3e9af9b13fd1c6fe87db8.tar.gz
poezio-4463a0d5b50121c776b3e9af9b13fd1c6fe87db8.tar.bz2
poezio-4463a0d5b50121c776b3e9af9b13fd1c6fe87db8.tar.xz
poezio-4463a0d5b50121c776b3e9af9b13fd1c6fe87db8.zip
Fix /irc_query in the IRC plugin
-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(