From 4463a0d5b50121c776b3e9af9b13fd1c6fe87db8 Mon Sep 17 00:00:00 2001 From: mathieui Date: Thu, 23 Aug 2018 21:35:28 +0200 Subject: Fix /irc_query in the IRC plugin --- plugins/irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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( -- cgit v1.2.3