aboutsummaryrefslogtreecommitdiffstats
path: root/server/src/commands/core/help.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/commands/core/help.js')
-rw-r--r--server/src/commands/core/help.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands/core/help.js b/server/src/commands/core/help.js
index 25f8844..f33dd12 100644
--- a/server/src/commands/core/help.js
+++ b/server/src/commands/core/help.js
@@ -59,7 +59,7 @@ export async function run(core, server, socket, payload) {
// module hook functions
export function initHooks(server) {
- server.registerHook('in', 'chat', this.helpCheck, 28);
+ server.registerHook('in', 'chat', this.helpCheck.bind(this), 28);
}
// hooks chat commands checking for /whisper