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
commit2a77d2a3a435cbd2f62b0f7675d7eb1ee027a093 (patch)
tree12c170f5c451cd6de06f1b842d220909e39f46e9 /plugins/mod_message.lua
parentca65f0d2d3718301b880c0260c991cd8ee7977ae (diff)
parent11dc53576d751ef7e62bc439831d35f74de74e5b (diff)
downloadprosody-2a77d2a3a435cbd2f62b0f7675d7eb1ee027a093.tar.gz
prosody-2a77d2a3a435cbd2f62b0f7675d7eb1ee027a093.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