Also reload plugins configuration on /reload
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
07e13a1220
commit
f35b3d16a3
1 changed files with 3 additions and 0 deletions
|
@ -477,6 +477,9 @@ class Core(object):
|
|||
if new_value != old_value:
|
||||
self.trigger_configuration_change(option, new_value)
|
||||
log.debug("Config reloaded.")
|
||||
for name, plugin in self.plugin_manager.plugins.items():
|
||||
plugin.config.read_file()
|
||||
log.debug("Config reloaded for plugin %s", name)
|
||||
# in case some roster options have changed
|
||||
roster.modified()
|
||||
|
||||
|
|
Loading…
Reference in a new issue