diff options
author | Kim Alvefur <zash@zash.se> | 2021-11-13 22:12:39 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-11-13 22:12:39 +0100 |
commit | e08d82a0773a3ef9a32170e9bda191846f0de968 (patch) | |
tree | 70cc3a00b4633ff3d28f70f6c0240613cc020f48 /plugins/mod_storage_none.lua | |
parent | 068388d9c721b38d6a5643c1cdea9b1d5d9b5494 (diff) | |
download | prosody-e08d82a0773a3ef9a32170e9bda191846f0de968.tar.gz prosody-e08d82a0773a3ef9a32170e9bda191846f0de968.zip |
mod_pubsub: Fix traceback in disco of non-existent node (thanks Martin)
In this case `ret` is a table not containing the node, which makes
pubsub_error_reply() try to get an error template with that `ret` table
as index, which returns a `nil` then passed to table.unpack, which in
turn throws the error.
Diffstat (limited to 'plugins/mod_storage_none.lua')
0 files changed, 0 insertions, 0 deletions