mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added current channel user playing to list. fixes #106
This commit is contained in:
parent
e452399caf
commit
3138509a57
4 changed files with 34 additions and 7 deletions
|
|
@ -40,6 +40,9 @@ function (Parent, ProtocolHelper, Nc) {
|
|||
}
|
||||
|
||||
User.prototype.onDisconnect = function () {
|
||||
|
||||
this.coordinator.removeUser(this);
|
||||
|
||||
if(!this.channelPipe) {
|
||||
console.warn("Disconnecting user without a channel.");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue