aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/mod/dumb.js
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2020-03-06 22:33:51 +0100
committerGitHub <noreply@github.com>2020-03-06 22:33:51 +0100
commit14c839b0fad2be68028daaee6c27e5d22d452193 (patch)
tree66859e92d8a16d6f51e2131cc92f1c7ac9eec168 /server/src/commands/mod/dumb.js
parentMerge pull request #91 from MinusGix/levelRewording (diff)
parentAdd trip to various commands that include nickname of moderator using them (diff)
downloadhackchat-14c839b0fad2be68028daaee6c27e5d22d452193.tar.gz
hackchat-14c839b0fad2be68028daaee6c27e5d22d452193.zip
Merge pull request #92 from MinusGix/tripInfo
Add trip to various commands that include nickname of moderator using…
Diffstat (limited to 'server/src/commands/mod/dumb.js')
-rw-r--r--server/src/commands/mod/dumb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands/mod/dumb.js b/server/src/commands/mod/dumb.js
index 944f8c6..488ed9e 100644
--- a/server/src/commands/mod/dumb.js
+++ b/server/src/commands/mod/dumb.js
@@ -57,7 +57,7 @@ export async function run(core, server, socket, data) {
// notify mods
server.broadcast({
cmd: 'info',
- text: `${socket.nick} muzzled ${data.nick} in ${socket.channel}, userhash: ${badClient.hash}`,
+ text: `${socket.nick}#${socket.trip} muzzled ${data.nick} in ${socket.channel}, userhash: ${badClient.hash}`,
}, { level: UAC.isModerator });
return true;