Improved channelManager and chatHandler
This commit is contained in:
parent
4b4cb2ed3d
commit
985f8a250f
3 changed files with 154 additions and 117 deletions
|
|
@ -110,7 +110,7 @@ statModel.incrementLaunchCount();
|
|||
flairModel.loadDefaults();
|
||||
|
||||
//Hand over general-namespace socket.io connections to the channel manager
|
||||
io.on("connection", (socket) => {channelManager.handleConnection(io, socket)} );
|
||||
module.exports.channelManager = new channelManager(io)
|
||||
|
||||
//Listen Function
|
||||
httpServer.listen(port, () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue