diff options
Diffstat (limited to 'server/src/commands/core/emote.js')
-rw-r--r-- | server/src/commands/core/emote.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands/core/emote.js b/server/src/commands/core/emote.js index f244d74..19a5fbe 100644 --- a/server/src/commands/core/emote.js +++ b/server/src/commands/core/emote.js @@ -56,7 +56,7 @@ export async function run(core, server, socket, payload) { // module hook functions export function initHooks(server) { - server.registerHook('in', 'chat', this.emoteCheck, 30); + server.registerHook('in', 'chat', this.emoteCheck.bind(this), 30); } // hooks chat commands checking for /me |