Commit dbc21a66 authored by mathieui's avatar mathieui

Also document manual plugin load

(why wasn’t that already here?)
parent cf752c27
......@@ -59,10 +59,15 @@ These commands work in *any* tab.
Just disconnect from the server and exit poezio.
**Usage:** ``/load <plugin name>``
Load a plugin.
Load or reload a plugin.
**Usage:** ``/unload <plugin name>``
Unload a plugin.
List the loaded plugins.
......@@ -33,6 +33,12 @@ e.g.
plugins_autoload = gpg:tell:exec
Manual plugin load
Plugins can of course be loaded with the command :term:`/load` and unloaded
with the command :term:`/unload`.
.. _plugin-configuration:
Plugin configuration
......@@ -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:
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