Also reload plugins configuration on /reload

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2018-07-08 18:40:48 +01:00 committed by Emmanuel Gil Peyrot
parent 07e13a1220
commit f35b3d16a3

View file

@ -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()