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

Switch accessed property to hash

This commit is contained in:
MinusGix 2020-03-13 13:40:12 -05:00
parent 015822c70a
commit 623b2bca70

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,