mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-24 11:38:27 +02:00
* Lots of mods/art/* file cleanup
* doortoomany.ans -> DOORMANY.ANS
This commit is contained in:
parent
5afb1d6b97
commit
c5a094d8ff
20 changed files with 6 additions and 1512 deletions
|
@ -31,7 +31,6 @@ function init(configPath, cb) {
|
|||
});
|
||||
},
|
||||
function mergeWithDefaultConfig(configJson, callback) {
|
||||
//var mergedConfig = _.defaultsDeep(configJson, getDefaultConfig());
|
||||
var mergedConfig = _.merge(getDefaultConfig(), configJson, function mergeCustomizer(conf1, conf2) {
|
||||
// Arrays should always concat
|
||||
if(_.isArray(conf1)) {
|
||||
|
@ -62,7 +61,7 @@ function getDefaultConfig() {
|
|||
general : {
|
||||
boardName : 'Another Fine ENiGMA½ BBS',
|
||||
|
||||
closedSystem : false, // is the system closed to new users?
|
||||
closedSystem : false, // is the system closed to new users?
|
||||
|
||||
loginAttempts : 3,
|
||||
},
|
||||
|
@ -82,6 +81,8 @@ function getDefaultConfig() {
|
|||
defaultGroups : [ 'users' ], // default groups new users belong to
|
||||
|
||||
newUserNames : [ 'new', 'apply' ], // Names reserved for applying
|
||||
|
||||
// :TODO: Mystic uses TRASHCAN.DAT for this -- is there a reason to support something like that?
|
||||
badUserNames : [ 'sysop', 'admin', 'administrator', 'root' ],
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue