1
0
mirror of https://github.com/hack-chat/main.git synced 2024-03-22 13:20:33 +08:00

Merge pull request #99 from MinusGix/joinToHash

Switch accessed property to hash
This commit is contained in:
marzavec 2020-03-16 09:40:45 -05:00 committed by GitHub
commit 485a37cc6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ export async function run(core, server, socket, data) {
nick: newPeerList[i].nick,
trip: newPeerList[i].trip,
utype: newPeerList[i].uType, /* @legacy */
hash: newPeerList[i].userHash,
hash: newPeerList[i].hash,
level: newPeerList[i].level,
userid: newPeerList[i].userid,
channel: data.channel,
@ -166,7 +166,7 @@ export async function run(core, server, socket, data) {
nick: socket.nick,
trip: socket.trip,
utype: socket.uType,
hash: socket.userHash,
hash: socket.hash,
level: socket.level,
userid: socket.userid,
channel: data.channel,