Fix /irc_query in the IRC plugin

This commit is contained in:
mathieui 2018-08-23 21:35:28 +02:00
parent 1524245dd0
commit 4463a0d5b5
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -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(