Database now stores hashes of recently used IP's for all users. They are retained for seven days AFTER their LAST use.
This commit is contained in:
parent
6b0a73e1c8
commit
6e785dc211
6 changed files with 112 additions and 12 deletions
|
|
@ -52,12 +52,7 @@ module.exports = class{
|
|||
//if everything looks good, admit the connection to the channel
|
||||
socket.join(socket.chan);
|
||||
|
||||
//Make sure the client receives important client-info before userlist
|
||||
//await this.sendClientMetadata(userDB, socket);
|
||||
await userObj.sendClientMetadata();
|
||||
await userObj.sendSiteEmotes();
|
||||
await userObj.sendChanEmotes(chanDB);
|
||||
await userObj.sendPersonalEmotes(userDB);
|
||||
await userObj.handleConnection(userDB, chanDB, socket)
|
||||
|
||||
//Send out the userlist
|
||||
this.broadcastUserList(socket.chan);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue