diff options
Diffstat (limited to 'src/conf.c')
-rw-r--r-- | src/conf.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/conf.c b/src/conf.c index 3efdbbc69..3af986b95 100644 --- a/src/conf.c +++ b/src/conf.c @@ -67,6 +67,7 @@ #define CONF_TIMEDISPLAY_TYPE "timedisplay-type" #define CONF_HOST "host" #define CONF_PORT "port" +#define CONF_PASSWORD "password" #define CONF_LYRICS_TIMEOUT "lyrics-timeout" #define CONF_SHOW_SPLASH "show-splash" @@ -575,7 +576,11 @@ read_rc_file(char *filename, options_t *options) { options->port = atoi(get_format(value)); } - else if( !strcasecmp(CONF_LYRICS_TIMEOUT, name)) + else if( !strcasecmp(CONF_PASSWORD, name)) + { + options->password = get_format(value); + } + else if( !strcasecmp(CONF_LYRICS_TIMEOUT, name)) { options->lyrics_timeout = atoi(get_format(value)); } |