aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index df10ef76..4438803c 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -450,6 +450,9 @@ for event_name, method in pairs {
else
return;
end
+ elseif room == false then -- Error loading room
+ origin.send(st.error_reply(stanza, "wait", "resource-constraint"));
+ return true;
end
return room[method](room, origin, stanza);
end, -2)