aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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