Remove default contact config
This commit is contained in:
parent
bfad626b2d
commit
9302a271d0
4 changed files with 23 additions and 22 deletions
|
|
@ -90,13 +90,7 @@ var defaults = {
|
|||
channels: ["^(.*?[-_])?admin(istrator)?([-_].*)?$", "^(.*?[-_])?owner([-_].*)?$"],
|
||||
pagetitles: []
|
||||
},
|
||||
"contacts": [
|
||||
{
|
||||
name: "calzoneman",
|
||||
title: "Developer",
|
||||
email: "cyzon@cytu.be"
|
||||
}
|
||||
],
|
||||
"contacts": [],
|
||||
"aggressive-gc": false,
|
||||
playlist: {
|
||||
"max-items": 4000,
|
||||
|
|
@ -390,6 +384,11 @@ function preprocessConfig(cfg) {
|
|||
"for more information on registering a client ID");
|
||||
}
|
||||
|
||||
// Remove calzoneman from contact config (old default)
|
||||
cfg.contacts = cfg.contacts.filter(contact => {
|
||||
return contact.name !== 'calzoneman';
|
||||
});
|
||||
|
||||
return cfg;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue