Software /
code /
prosody
Comparison
plugins/mod_pubsub/mod_pubsub.lua @ 11904:313d01cc4258
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 13 Nov 2021 22:12:39 +0100 |
parent | 11856:14a679588b7b |
child | 12021:376522fb3f52 |
comparison
equal
deleted
inserted
replaced
11903:baf69f254753 | 11904:313d01cc4258 |
---|