aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-22 01:31:52 +0200
committerKim Alvefur <zash@zash.se>2015-09-22 01:31:52 +0200
commit5dcb0569722d6feea8942fd5acc8af7805060f8b (patch)
treef6ad57a51df3f189d7ece7f43682e7ccd147537c /plugins/mod_pubsub/mod_pubsub.lua
parent9b97c52790a17ea25e0e7ab96fe62280e4dbfea8 (diff)
parent366a13d95f528d6dba5e5ae05910fe6675c28df9 (diff)
downloadprosody-5dcb0569722d6feea8942fd5acc8af7805060f8b.tar.gz
prosody-5dcb0569722d6feea8942fd5acc8af7805060f8b.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_pubsub/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index 40c28d27..e93a5238 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -28,7 +28,8 @@ function handle_pubsub_iq(event)
local pubsub = stanza.tags[1];
local action = pubsub.tags[1];
if not action then
- return origin.send(st.error_reply(stanza, "cancel", "bad-request"));
+ origin.send(st.error_reply(stanza, "cancel", "bad-request"));
+ return true;
end
local handler = handlers[stanza.attr.type.."_"..action.name];
if handler then