diff --git a/server/api/controller/settings.js b/server/api/controller/settings.js index afd9bce3..491bbc6b 100644 --- a/server/api/controller/settings.js +++ b/server/api/controller/settings.js @@ -134,7 +134,8 @@ const settingsController = { try { const pluginController = require('./plugins') pluginController.unloadPlugin(pluginName) - pluginController.loadPlugin(pluginName) + // Do not reload the plugin if the change in its settings was to disable it + value.enable && pluginController.loadPlugin(pluginName) } catch (e) { log.error(e) }