projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
a9de4ae
)
Merge
author
Matthew Wild
<mwild1@gmail.com>
Mon, 7 Mar 2016 13:43:05 +0000
(13:43 +0000)
committer
Matthew Wild
<mwild1@gmail.com>
Mon, 7 Mar 2016 13:43:05 +0000
(13:43 +0000)
plugins/muc/mod_muc.lua
patch
|
blob
|
history
diff --git
a/plugins/muc/mod_muc.lua
b/plugins/muc/mod_muc.lua
index 4f5831a62c24e447efced881bf25eb72a0c9201f..74909d9b7f19193fbf3a29df1cf7d8f14d4cef3f 100644
(file)
--- a/
plugins/muc/mod_muc.lua
+++ b/
plugins/muc/mod_muc.lua
@@
-255,9
+255,11
@@
for event_name, method in pairs {
-- Watch presence to create rooms
if stanza.attr.type == nil and stanza.name == "presence" then
room = muclib.new_room(room_jid);
- else
+ else
if stanza.attr.type ~= "error" then
origin.send(st.error_reply(stanza, "cancel", "not-allowed"));
return true;
+ else
+ return;
end
end
return room[method](room, origin, stanza);