Added kickConnections to channelManager
This commit is contained in:
parent
0432c9d1cc
commit
b138b26f27
6 changed files with 37 additions and 15 deletions
|
|
@ -61,7 +61,7 @@ module.exports = class{
|
|||
userDB.flair = data.flair;
|
||||
userDB = await userDB.save();
|
||||
|
||||
const connections = this.server.getConnections(socket);
|
||||
const connections = this.server.getConnections(socket.user.user);
|
||||
|
||||
connections.forEach((conn) => {
|
||||
conn.updateFlair(userDB.flair);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue