aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/lib/plugins/plugin-manager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/plugins/plugin-manager.ts b/server/lib/plugins/plugin-manager.ts
index 8127992b5..7ebdabd34 100644
--- a/server/lib/plugins/plugin-manager.ts
+++ b/server/lib/plugins/plugin-manager.ts
@@ -194,7 +194,7 @@ export class PluginManager implements ServerHook {
194 194
195 // Remove hooks of this plugin 195 // Remove hooks of this plugin
196 for (const key of Object.keys(this.hooks)) { 196 for (const key of Object.keys(this.hooks)) {
197 this.hooks[key] = this.hooks[key].filter(h => h.pluginName !== npmName) 197 this.hooks[key] = this.hooks[key].filter(h => h.npmName !== npmName)
198 } 198 }
199 199
200 this.reinitVideoConstants(plugin.npmName) 200 this.reinitVideoConstants(plugin.npmName)