Move "global switchoff" code from plugin to core

This commit is contained in:
Fabian Neumann
2018-05-11 11:28:58 +02:00
parent fab15daacd
commit 48fc3ab5db
24 changed files with 105 additions and 150 deletions
+8
View File
@@ -66,6 +66,14 @@ const Setting = new Schema(
type: String,
default: 'Expired',
},
globalSwitchoffEnable: {
type: Boolean,
default: false,
},
globalSwitchoffMessage: {
type: String,
default: '',
},
wordlist: {
banned: {
type: Array,