diff options
author | Kim Alvefur <zash@zash.se> | 2022-05-15 16:12:34 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-05-15 16:12:34 +0200 |
commit | 18baeca54aa5ad8b2f439dee7f17b810cff35bca (patch) | |
tree | 10a898e8ee7fd43f91b57c08de006a23bcf8b69f /util/human | |
parent | 54d1ff8cfd2e51de040a11522f31870b9033dd67 (diff) | |
download | prosody-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 'util/human')
0 files changed, 0 insertions, 0 deletions