summaryrefslogtreecommitdiff
path: root/plugins/irc.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/irc.py')
-rw-r--r--plugins/irc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/irc.py b/plugins/irc.py
index 42553dee..8a9f8946 100644
--- a/plugins/irc.py
+++ b/plugins/irc.py
@@ -355,12 +355,12 @@ class Plugin(BasePlugin):
self.api.information('The current tab does not appear to be an IRC one', 'Warning')
return None
if isinstance(current, tabs.OneToOneTab):
- if not '%' in current_jid.node:
+ if '%' not in current_jid.node:
server = current_jid.node
else:
ignored, server = current_jid.node.rsplit('%', 1)
elif isinstance(current, tabs.MucTab):
- if not '%' in current_jid.node:
+ if '%' not in current_jid.node:
server = current_jid.node
else:
ignored, server = current_jid.node.rsplit('%', 1)