diff options
author | marzavec <admin@marzavec.com> | 2019-02-21 09:43:25 +0100 |
---|---|---|
committer | marzavec <admin@marzavec.com> | 2019-02-21 09:43:25 +0100 |
commit | a48830165536fa7181b2e9df211300141661d9d4 (patch) | |
tree | 3a60ed1934880d08e3c18b581c82a315e62d9bc6 /server/src/commands/mod | |
parent | Minor module changes (diff) | |
download | hackchat-a48830165536fa7181b2e9df211300141661d9d4.tar.gz hackchat-a48830165536fa7181b2e9df211300141661d9d4.zip |
Core hook upgrade, misc fixes
(See ChangeLog.md tbh)
Diffstat (limited to 'server/src/commands/mod')
-rw-r--r-- | server/src/commands/mod/dumb.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/commands/mod/dumb.js b/server/src/commands/mod/dumb.js index ecb4e0d..d64c746 100644 --- a/server/src/commands/mod/dumb.js +++ b/server/src/commands/mod/dumb.js @@ -61,8 +61,8 @@ exports.run = async (core, server, socket, data) => { // module hook functions exports.initHooks = (server) => { - server.registerHook('in', 'chat', this.chatCheck); - server.registerHook('in', 'invite', this.inviteCheck); + server.registerHook('in', 'chat', this.chatCheck, 25); + server.registerHook('in', 'invite', this.inviteCheck, 25); // TODO: add whisper hook, need hook priorities todo finished first }; |