diff options
author | marzavec <admin@marzavec.com> | 2018-06-04 09:07:24 +0200 |
---|---|---|
committer | marzavec <admin@marzavec.com> | 2018-06-04 09:07:24 +0200 |
commit | e35fff59ba30e78046c9212e74fce9aef56c6e93 (patch) | |
tree | c7d3e0cd75f5a6063d629d4295952488907e9562 /server/src/commands/internal/socketreply.js | |
parent | Completed protocol decoupling (diff) | |
download | hackchat-e35fff59ba30e78046c9212e74fce9aef56c6e93.tar.gz hackchat-e35fff59ba30e78046c9212e74fce9aef56c6e93.zip |
cleaned up and commented modules
Diffstat (limited to 'server/src/commands/internal/socketreply.js')
-rw-r--r-- | server/src/commands/internal/socketreply.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/commands/internal/socketreply.js b/server/src/commands/internal/socketreply.js index 82834b7..e77d080 100644 --- a/server/src/commands/internal/socketreply.js +++ b/server/src/commands/internal/socketreply.js @@ -10,6 +10,7 @@ exports.run = async (core, server, socket, data) => { return; } + // send warning to target socket server.reply({ cmd: 'warn', text: data.text }, socket); }; |