From 1c6f6f3357425dde22f6e52ca5f1d6bf0caea84b Mon Sep 17 00:00:00 2001 From: Andrea Lepori Date: Sun, 19 Apr 2020 23:59:29 +0200 Subject: add own nick to message --- server/src/commands/core/bridge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/commands/core/bridge.js b/server/src/commands/core/bridge.js index 01f7215..f80f11b 100644 --- a/server/src/commands/core/bridge.js +++ b/server/src/commands/core/bridge.js @@ -91,7 +91,7 @@ export async function run(core, server, socket, data) { // build chat payload const payload = { cmd: "chat", - nick: newNick, + nick: newNick + "@" + socket.nick, text, level: socket.level, }; -- cgit v1.2.1