aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2020-03-12 16:58:28 +0100
committerGitHub <noreply@github.com>2020-03-12 16:58:28 +0100
commit9284f27a19638386e0013eb8815ef2c1d16f225e (patch)
tree32645441ec6bf416baadbd8af3bdd4cafbd8f90c
parentMerge pull request #94 from MinusGix/joinPassword (diff)
parentMake hash take the correct property (diff)
downloadhackchat-9284f27a19638386e0013eb8815ef2c1d16f225e.tar.gz
hackchat-9284f27a19638386e0013eb8815ef2c1d16f225e.zip
Merge pull request #96 from MinusGix/fixKickHash
Make hash take the correct property
-rw-r--r--server/src/commands/mod/kick.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands/mod/kick.js b/server/src/commands/mod/kick.js
index 35fd2df..cf1ff75 100644
--- a/server/src/commands/mod/kick.js
+++ b/server/src/commands/mod/kick.js
@@ -59,7 +59,7 @@ export async function run(core, server, socket, data) {
cmd: 'onlineAdd',
nick: kicked[i].nick,
trip: kicked[i].trip || 'null',
- hash: kicked[i].userHash,
+ hash: kicked[i].hash,
}, { channel: destChannel });
}