mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-23 05:53:18 +00:00
Update Streamer class
This commit is contained in:
parent
12db2c5fcc
commit
22bb8c7467
@ -40,8 +40,9 @@ module.exports = class {
|
||||
|
||||
let streamers = this.map.keys();
|
||||
streamers.forEach(streamer => {
|
||||
if(client.stations.findIndex(station => station.name == streamer) == -1) return;
|
||||
this.stop(streamer);
|
||||
if(client.stations.findIndex(station => station.name == streamer) == -1){
|
||||
this.stop(streamer);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user