summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/irc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/irc.py b/plugins/irc.py
index 62192ec5..6341851e 100644
--- a/plugins/irc.py
+++ b/plugins/irc.py
@@ -100,7 +100,7 @@ class Plugin(BasePlugin):
sections = self.config.sections()
for section in (s for s in sections if s != 'irc'):
- server_suffix = '%%%s@%s' % (section, gateway)
+ server_suffix = '%{}@{}'.format(section, gateway)
already_opened = False
for tab in self.core.tabs: