Unverified Commit 4463a0d5 authored by mathieui's avatar mathieui

Fix /irc_query in the IRC plugin

parent 1524245d
......@@ -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(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment