aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--server/src/commands/core/invite.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands/core/invite.js b/server/src/commands/core/invite.js
index 62c6051..b594586 100644
--- a/server/src/commands/core/invite.js
+++ b/server/src/commands/core/invite.js
@@ -26,7 +26,7 @@ export async function run(core, server, socket, data) {
}
let channel;
- if (typeof data.to == 'string') {
+ if (typeof data.to === 'string') {
channel = data.to;
} else {
channel = Math.random().toString(36).substr(2, 8);