aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_message.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-03-06 15:31:21 +0100
committerKim Alvefur <zash@zash.se>2017-03-06 15:31:21 +0100
commit12b74e9dde7fbabe26e3bcca7d0249621344476a (patch)
tree12c170f5c451cd6de06f1b842d220909e39f46e9 /plugins/mod_message.lua
parent0e71fac1d18b0de0e9203cb6b71c971d55c8c70c (diff)
parenta889b0287767bd9e7ab5f213607f453acac448f9 (diff)
downloadprosody-12b74e9dde7fbabe26e3bcca7d0249621344476a.tar.gz
prosody-12b74e9dde7fbabe26e3bcca7d0249621344476a.zip
Merge 0.10->trunk
Diffstat (limited to 'plugins/mod_message.lua')
-rw-r--r--plugins/mod_message.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_message.lua b/plugins/mod_message.lua
index 47da5f46..2ee75c21 100644
--- a/plugins/mod_message.lua
+++ b/plugins/mod_message.lua
@@ -20,7 +20,7 @@ local function process_to_bare(bare, origin, stanza)
local t = stanza.attr.type;
if t == "error" then
- -- discard
+ return true; -- discard
elseif t == "groupchat" then
origin.send(st.error_reply(stanza, "cancel", "service-unavailable"));
elseif t == "headline" then