aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/mod/kick.js
diff options
context:
space:
mode:
authorneelkamath <neelkamath@protonmail.com>2018-05-11 17:16:12 +0200
committerneelkamath <neelkamath@protonmail.com>2018-05-11 17:16:12 +0200
commit73e5c5ccfe408e58eb4bb927c71a77e0fceb22c4 (patch)
tree22b19a574ae856a6df24ce56c149da03ef440d88 /server/src/commands/mod/kick.js
parentAdd license as a file in the repo as GitHub's documentation (diff)
downloadhackchat-73e5c5ccfe408e58eb4bb927c71a77e0fceb22c4.tar.gz
hackchat-73e5c5ccfe408e58eb4bb927c71a77e0fceb22c4.zip
Remove forgettable, unused, occasionally harmful (w.r.t. ES6) directive
Diffstat (limited to 'server/src/commands/mod/kick.js')
-rw-r--r--server/src/commands/mod/kick.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/src/commands/mod/kick.js b/server/src/commands/mod/kick.js
index f32eaf5..1797ba9 100644
--- a/server/src/commands/mod/kick.js
+++ b/server/src/commands/mod/kick.js
@@ -2,8 +2,6 @@
Description: Forces a change on the target socket's channel, then broadcasts event
*/
-'use strict';
-
exports.run = async (core, server, socket, data) => {
if (socket.uType === 'user') {
// ignore if not mod or admin