aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-11-17 17:59:56 +0100
committerKim Alvefur <zash@zash.se>2019-11-17 17:59:56 +0100
commit2a7715e94b907989fcd58e4b86980c5ae4cbf7b1 (patch)
tree05e833948d1930e47820de40706e8832e379320c
parenta7579e93f5833154aef8d67f068064d71b5dc731 (diff)
downloadprosody-2a7715e94b907989fcd58e4b86980c5ae4cbf7b1.tar.gz
prosody-2a7715e94b907989fcd58e4b86980c5ae4cbf7b1.zip
mod_csi_simple: Make sure to disable optimizations before mod_smacks (thanks pep.)
-rw-r--r--plugins/mod_csi_simple.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_csi_simple.lua b/plugins/mod_csi_simple.lua
index 24a2f1ce..4a87f06c 100644
--- a/plugins/mod_csi_simple.lua
+++ b/plugins/mod_csi_simple.lua
@@ -116,7 +116,7 @@ end);
module:hook("pre-resource-unbind", function (event)
local session = event.session;
disable_optimizations(session);
-end);
+end, 1);
module:hook("c2s-ondrain", function (event)
local session = event.session;