diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/models/server/plugin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/server/plugin.ts b/server/models/server/plugin.ts index 82387af6a..80c8a6be5 100644 --- a/server/models/server/plugin.ts +++ b/server/models/server/plugin.ts | |||
@@ -284,7 +284,7 @@ export class PluginModel extends Model { | |||
284 | for (const r of registeredSettings) { | 284 | for (const r of registeredSettings) { |
285 | if (r.private !== false) continue | 285 | if (r.private !== false) continue |
286 | 286 | ||
287 | result[r.name] = settings[r.name] || r.default || null | 287 | result[r.name] = settings[r.name] ?? r.default ?? null |
288 | } | 288 | } |
289 | 289 | ||
290 | return result | 290 | return result |