listen on timezone key only when configured

This commit is contained in:
Girish Ramakrishnan
2015-11-03 16:11:24 -08:00
parent b1dbb3570b
commit 9d9509525c
2 changed files with 5 additions and 2 deletions

View File

@@ -157,6 +157,8 @@ function syncConfigState(callback) {
isConfigured(function (error, configured) {
if (error) return callback(error);
debug('syncConfigState: configured = %s', configured);
if (configured) {
exports.events.emit(exports.EVENT_CONFIGURED);
} else {