3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00
This commit is contained in:
reality 2014-02-17 20:42:24 +00:00
parent e4997cd915
commit a38f8df657

View File

@ -42,7 +42,7 @@ var radio = function(dbot) {
}.bind(this));
stream.on('end', function() {
this.stream.close();
this.stream.end();
this.listening = false;
}.bind(this));
}.bind(this),
@ -59,7 +59,7 @@ var radio = function(dbot) {
this.internalAPI.getRadio();
}.bind(this);
this.onDestroy = function() {
this.stream.close();
this.stream.end();
}.bind(this);
};