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:
parent
015822c70a
commit
623b2bca70
|
@ -144,7 +144,7 @@ export async function run(core, server, socket, data) {
|
||||||
nick: newPeerList[i].nick,
|
nick: newPeerList[i].nick,
|
||||||
trip: newPeerList[i].trip,
|
trip: newPeerList[i].trip,
|
||||||
utype: newPeerList[i].uType, /* @legacy */
|
utype: newPeerList[i].uType, /* @legacy */
|
||||||
hash: newPeerList[i].userHash,
|
hash: newPeerList[i].hash,
|
||||||
level: newPeerList[i].level,
|
level: newPeerList[i].level,
|
||||||
userid: newPeerList[i].userid,
|
userid: newPeerList[i].userid,
|
||||||
channel: data.channel,
|
channel: data.channel,
|
||||||
|
@ -166,7 +166,7 @@ export async function run(core, server, socket, data) {
|
||||||
nick: socket.nick,
|
nick: socket.nick,
|
||||||
trip: socket.trip,
|
trip: socket.trip,
|
||||||
utype: socket.uType,
|
utype: socket.uType,
|
||||||
hash: socket.userHash,
|
hash: socket.hash,
|
||||||
level: socket.level,
|
level: socket.level,
|
||||||
userid: socket.userid,
|
userid: socket.userid,
|
||||||
channel: data.channel,
|
channel: data.channel,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user