listen on timezone key only when configured
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user