summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-03-28 00:15:31 +0100
committermathieui <mathieui@mathieui.net>2014-03-28 00:15:31 +0100
commitdbc21a661784e190b8235b4976854d781d2a6e9f (patch)
tree453597799cabb0d8e0b0e5a4d0b4e8d2980a27bc /plugins
parentcf752c27b20710838cbb1eaffe831acbc4577055 (diff)
downloadpoezio-dbc21a661784e190b8235b4976854d781d2a6e9f.tar.gz
poezio-dbc21a661784e190b8235b4976854d781d2a6e9f.tar.bz2
poezio-dbc21a661784e190b8235b4976854d781d2a6e9f.tar.xz
poezio-dbc21a661784e190b8235b4976854d781d2a6e9f.zip
Also document manual plugin load
(why wasn’t that already here?)
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: