From 02f6fbf70153241ce45b9c880664566f2d1ede86 Mon Sep 17 00:00:00 2001 From: marzavec Date: Sat, 2 Feb 2019 13:34:06 -0800 Subject: Minor module changes Added trips to listusers output. Added 'reason' to reload broadcast. Fixed removemod bug. Added /nick hook to changenick. Added 'type' and 'from' fields to invite event. --- server/src/commands/admin/listusers.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'server/src/commands/admin/listusers.js') 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 -- cgit v1.2.1