From 7b3489225cf5cf249af53272ccd7ea8d95fd7744 Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 21 Jul 2014 13:30:18 +0000 Subject: [PATCH] radio thing --- 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 374ad5b..e4ad617 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(!_.isUndefined(title)) { + if(title != 'undefined') { // sowwy jesus _.each(this.config.announce, function(a) { dbot.say(a.server, a.name, dbot.t('now_playing', { 'name': this.data['icy-name'],