aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/admin/reload.js
diff options
context:
space:
mode:
authormarzavec <admin@marzavec.com>2018-05-20 00:15:34 +0200
committerGitHub <noreply@github.com>2018-05-20 00:15:34 +0200
commit7ccbf56eebc341e78737d0ff7e2a6a3c47a62281 (patch)
tree26d944fa1f36480264b7790aef5285393e97fcdd /server/src/commands/admin/reload.js
parentHighlight Hotfix (diff)
parentnpm has been pkged with node for awhile now; we neednt list every pkg manager... (diff)
downloadhackchat-7ccbf56eebc341e78737d0ff7e2a6a3c47a62281.tar.gz
hackchat-7ccbf56eebc341e78737d0ff7e2a6a3c47a62281.zip
Merge pull request #12 from neelkamath/master
Documentation
Diffstat (limited to '')
-rw-r--r--server/src/commands/admin/reload.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/src/commands/admin/reload.js b/server/src/commands/admin/reload.js
index 387ae97..e2cfbe6 100644
--- a/server/src/commands/admin/reload.js
+++ b/server/src/commands/admin/reload.js
@@ -2,8 +2,6 @@
Description: Clears and resets the command modules, outputting any errors
*/
-'use strict';
-
exports.run = async (core, server, socket, data) => {
if (socket.uType != 'admin') {
// ignore if not admin
@@ -34,3 +32,4 @@ exports.info = {
name: 'reload',
description: '(Re)loads any new commands into memory, outputs errors if any'
};
+