Software /
code /
prosody-modules
Diff
mod_admin_web/admin_web/mod_admin_web.lua @ 1865:db8b256f51ff
mod_admin_web,mod_carbons,mod_csi_compat,mod_mam_muc,mod_tcpproxy: Explicitly return true
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 21 Sep 2015 20:03:08 +0200 |
parent | 1646:95b8b1f9a882 |
child | 2871:c3317f61f3f9 |
line wrap: on
line diff
--- a/mod_admin_web/admin_web/mod_admin_web.lua Sat Sep 19 16:51:16 2015 +0200 +++ b/mod_admin_web/admin_web/mod_admin_web.lua Mon Sep 21 20:03:08 2015 +0200 @@ -271,7 +271,8 @@ local node = action.attr.node; local ok, ret = service[module.host]:get_items(node, stanza.attr.from); if not ok then - return origin.send(st.error_reply(stanza, "cancel", ret)); + origin.send(st.error_reply(stanza, "cancel", ret)); + return true; end local data = st.stanza("items", { node = node }); @@ -298,7 +299,8 @@ else reply = st.error_reply(stanza, "feature-not-implemented"); end - return origin.send(reply); + origin.send(reply); + return true; end); -- Add/remove c2s sessions