aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2020-03-16 15:40:45 +0100
committerGitHub <noreply@github.com>2020-03-16 15:40:45 +0100
commit485a37cc6af088d91e34acb334f4891aa63cee46 (patch)
treeb12fdc75c7ea6defdfd592f5b6019412c5fa5824 /server/src/commands
parentMerge pull request #97 from MinusGix/androidWhiteTheme (diff)
parentSwitch accessed property to hash (diff)
downloadhackchat-485a37cc6af088d91e34acb334f4891aa63cee46.tar.gz
hackchat-485a37cc6af088d91e34acb334f4891aa63cee46.zip
Merge pull request #99 from MinusGix/joinToHash
Switch accessed property to hash
Diffstat (limited to 'server/src/commands')
-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,