mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-28 21:46:09 +02:00
Fix up some deprecated config refs
This commit is contained in:
parent
eb4f933285
commit
dd2a6258d5
5 changed files with 27 additions and 26 deletions
|
@ -433,10 +433,10 @@ function getThemeArt(options, cb) {
|
|||
const config = Config();
|
||||
if(!options.themeId && _.has(options, [ 'client', 'user', 'properties', UserProps.ThemeId ])) {
|
||||
options.themeId = options.client.user.properties[UserProps.ThemeId];
|
||||
} else {
|
||||
options.themeId = config.theme.default;
|
||||
}
|
||||
|
||||
options.themeId = options.themeId || config.theme.default;
|
||||
|
||||
// :TODO: replace asAnsi stuff with something like retrieveAs = 'ansi' | 'pipe' | ...
|
||||
// :TODO: Some of these options should only be set if not provided!
|
||||
options.asAnsi = true; // always convert to ANSI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue