server: clean callback module a bit

custom-module: allow extra options arg in receive() to choose the client
This commit is contained in:
bordun 2020-03-30 17:43:25 +02:00
parent 33c75865be
commit dffea3209a
4 changed files with 47 additions and 34 deletions

View file

@ -141,12 +141,6 @@ var bindCallbacks = function(callbacks) {
})
}
client.on('close', function() {
callbacks.removeClientWidgets(client.id)
})
})
}