Allow welcome_message = false

This commit is contained in:
Paul-Vincent Roll
2016-04-02 19:12:59 +02:00
parent 5fb751222b
commit a8184ec17d
2 changed files with 9 additions and 7 deletions

View File

@@ -71,7 +71,9 @@ Module.register('alert',{
}
},
start: function() {
this.show_notification(this.config.welcome_message)
if (this.config.welcome_message){
this.show_notification(this.config.welcome_message)
}
Log.info('Starting module: ' + this.name);
}