aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_csi_simple.lua
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
commitc20412ca92ab0506713dcca86b5f28c8fbf93cc7 (patch)
tree05e833948d1930e47820de40706e8832e379320c /plugins/mod_csi_simple.lua
parentb3da3a365de86ff541165ccae17531aa72c23e1e (diff)
downloadprosody-c20412ca92ab0506713dcca86b5f28c8fbf93cc7.tar.gz
prosody-c20412ca92ab0506713dcca86b5f28c8fbf93cc7.zip
mod_csi_simple: Make sure to disable optimizations before mod_smacks (thanks pep.)
Diffstat (limited to 'plugins/mod_csi_simple.lua')
-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;