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 b86d232518
commit 4e6680f5a8
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)
})
})
}