From e1732ff26a46fddda053fde3756480c78b71c26c Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 18 Sep 2014 03:29:20 +0000 Subject: [PATCH] blah --- modules/radio/radio.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/radio/radio.js b/modules/radio/radio.js index b46f73d..b98e484 100644 --- a/modules/radio/radio.js +++ b/modules/radio/radio.js @@ -32,7 +32,7 @@ var radio = function(dbot) { stream.on('metadata', function(metadata) { var title = icecast.parseMetadata(metadata).StreamTitle; - if(title != 'undefined') { // sowwy jesus + if(!_.isUndefined(title)) { // sowwy jesus _.each(this.config.announce, function(a) { dbot.say(a.server, a.name, dbot.t('now_playing', { 'name': this.data['icy-name'],