aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/admin/listusers.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/commands/admin/listusers.js')
-rw-r--r--server/src/commands/admin/listusers.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/commands/admin/listusers.js b/server/src/commands/admin/listusers.js
index 85fc078..472b89d 100644
--- a/server/src/commands/admin/listusers.js
+++ b/server/src/commands/admin/listusers.js
@@ -20,7 +20,10 @@ exports.run = async (core, server, socket, data) => {
if (typeof channels[currentUsers[i].channel] === 'undefined') {
channels[currentUsers[i].channel] = [];
}
- channels[currentUsers[i].channel].push(currentUsers[i].nick);
+
+ channels[currentUsers[i].channel].push(
+ `[${currentUsers[i].trip||'null'}]${currentUsers[i].nick}`
+ );
}
// build output