aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_private.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-05-15 16:12:34 +0200
committerKim Alvefur <zash@zash.se>2022-05-15 16:12:34 +0200
commit18baeca54aa5ad8b2f439dee7f17b810cff35bca (patch)
tree10a898e8ee7fd43f91b57c08de006a23bcf8b69f /plugins/mod_private.lua
parent54d1ff8cfd2e51de040a11522f31870b9033dd67 (diff)
downloadprosody-18baeca54aa5ad8b2f439dee7f17b810cff35bca.tar.gz
prosody-18baeca54aa5ad8b2f439dee7f17b810cff35bca.zip
mod_smacks: Initialize queue before sending <enable>
Setting the .smacks field enables code paths that expects the queue to be present. The queue is initialized in wrap_session_out(). With opportunistic writes enabled this happens immediately on .sends2s(), so the sending <enable> must happen before OR after these two lines, not in the middle.
Diffstat (limited to 'plugins/mod_private.lua')
0 files changed, 0 insertions, 0 deletions