fixed settings not initialized
This commit is contained in:
parent
6428c7a083
commit
4ffc7922fa
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ namespace i18n {
|
||||||
|
|
||||||
if(config.repositories.length == 0) {
|
if(config.repositories.length == 0) {
|
||||||
//Add the default TeaSpeak repository
|
//Add the default TeaSpeak repository
|
||||||
load_repository(settings.static("i18n.default_repository", "i18n/")).then(repo => {
|
load_repository(StaticSettings.instance.static("i18n.default_repository", "i18n/")).then(repo => {
|
||||||
log.info(LogCategory.I18N, tr("Successfully added default repository from \"%s\"."), repo.url);
|
log.info(LogCategory.I18N, tr("Successfully added default repository from \"%s\"."), repo.url);
|
||||||
register_repository(repo);
|
register_repository(repo);
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue