Mercurial > prosody-hg
diff plugins/mod_pubsub/mod_pubsub.lua @ 6843:161cccfdf015
Merge 0.10->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 22 Sep 2015 01:31:52 +0200 |
| parents | 42fdc8dddf04 be87ab2d611c |
| children | 9c8eb0239eef |
line wrap: on
line diff
--- a/plugins/mod_pubsub/mod_pubsub.lua Sat Sep 19 17:51:20 2015 +0200 +++ b/plugins/mod_pubsub/mod_pubsub.lua Tue Sep 22 01:31:52 2015 +0200 @@ -28,7 +28,8 @@ 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
