aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/core
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/commands/core')
-rw-r--r--server/src/commands/core/invite.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/commands/core/invite.js b/server/src/commands/core/invite.js
index 5889562..a6412e1 100644
--- a/server/src/commands/core/invite.js
+++ b/server/src/commands/core/invite.js
@@ -36,6 +36,7 @@ exports.run = async (core, server, socket, data) => {
let payload = {
cmd: 'info',
+ invite: channel,
text: `${socket.nick} invited you to ?${channel}`
};
let inviteSent = server.broadcast( payload, { channel: socket.channel, nick: data.nick });