aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMinusGix <MinusGix@gmail.com>2020-03-13 19:40:12 +0100
committerMinusGix <MinusGix@gmail.com>2020-03-13 19:40:12 +0100
commit623b2bca706c5838fb5c542672f5798dcf8052c3 (patch)
treeb12fdc75c7ea6defdfd592f5b6019412c5fa5824
parentMerge pull request #97 from MinusGix/androidWhiteTheme (diff)
downloadhackchat-623b2bca706c5838fb5c542672f5798dcf8052c3.tar.gz
hackchat-623b2bca706c5838fb5c542672f5798dcf8052c3.zip
Switch accessed property to hash
-rw-r--r--server/src/commands/core/join.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/commands/core/join.js b/server/src/commands/core/join.js
index b17e1fc..c4f4f4f 100644
--- a/server/src/commands/core/join.js
+++ b/server/src/commands/core/join.js
@@ -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,