From f34ee18c301322ea02009efcc10ce86d350c68d0 Mon Sep 17 00:00:00 2001 From: marzavec Date: Thu, 7 Nov 2019 11:46:55 -0600 Subject: Minor bug fixes --- server/src/commands/core/help.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/src/commands/core/help.js') 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 -- cgit v1.2.1