Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
178
Issues
178
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poezio
poezio
Commits
dbc21a66
Commit
dbc21a66
authored
Mar 28, 2014
by
mathieui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also document manual plugin load
(why wasn’t that already here?)
parent
cf752c27
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
doc/source/commands.rst
doc/source/commands.rst
+7
-2
doc/source/plugins/index.rst
doc/source/plugins/index.rst
+6
-0
plugins/irc.py
plugins/irc.py
+1
-1
No files found.
doc/source/commands.rst
View file @
dbc21a66
...
...
@@ -59,10 +59,15 @@ These commands work in *any* tab.
/quit
Just disconnect from the server and exit poezio.
/
plugin
/
load
**Usage:** ``/load <plugin name>``
Load a plugin.
Load or reload a plugin.
/unload
**Usage:** ``/unload <plugin name>``
Unload a plugin.
/plugins
List the loaded plugins.
...
...
doc/source/plugins/index.rst
View file @
dbc21a66
...
...
@@ -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
...
...
plugins/irc.py
View file @
dbc21a66
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment