diff options
author | Andrea Lepori <alepori@student.ethz.ch> | 2020-04-19 23:59:29 +0200 |
---|---|---|
committer | Andrea Lepori <alepori@student.ethz.ch> | 2020-04-19 23:59:29 +0200 |
commit | 1c6f6f3357425dde22f6e52ca5f1d6bf0caea84b (patch) | |
tree | 9500a40daccdf5ed697bd32bbe7130d890ff0496 /server | |
parent | remove unused code and fixes (diff) | |
download | hackchat-1c6f6f3357425dde22f6e52ca5f1d6bf0caea84b.tar.gz hackchat-1c6f6f3357425dde22f6e52ca5f1d6bf0caea84b.zip |
add own nick to message
Diffstat (limited to 'server')
-rw-r--r-- | server/src/commands/core/bridge.js | 2 |
1 files changed, 1 insertions, 1 deletions
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, }; |