diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-04-28 01:02:49 +0100 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-04-28 01:02:49 +0100 |
commit | 7a1b2b982f431eb591d348fbb799a4d761a13c65 (patch) | |
tree | 4bb79aa2b03b9fd303dffb747e17319bcf0d722f /plugins/irc.py | |
parent | 200f229464d87791f9cc67a03df0259741bf24a6 (diff) | |
download | poezio-7a1b2b982f431eb591d348fbb799a4d761a13c65.tar.gz poezio-7a1b2b982f431eb591d348fbb799a4d761a13c65.tar.bz2 poezio-7a1b2b982f431eb591d348fbb799a4d761a13c65.tar.xz poezio-7a1b2b982f431eb591d348fbb799a4d761a13c65.zip |
plugins: Update use of tab.name to tab.jid where appropriate
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'plugins/irc.py')
-rw-r--r-- | plugins/irc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/irc.py b/plugins/irc.py index eeef128c..9d981c91 100644 --- a/plugins/irc.py +++ b/plugins/irc.py @@ -376,7 +376,7 @@ class Plugin(BasePlugin): """ gateway = self.config.get('gateway', 'irc.poez.io') current = self.api.current_tab() - current_jid = common.safeJID(current.name) + current_jid = current.jid if not current_jid.server == gateway: self.api.information( 'The current tab does not appear to be an IRC one', 'Warning') |