aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-16 14:17:25 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-16 14:17:25 +0100
commit42be754bb20ba65af1a3b311b82f5765b8985234 (patch)
tree639a8b571f975e8308b6585ad29aca448e804013 /plugins/muc/mod_muc.lua
parentf6f9dae378f74717d52ba03e880d84cca606d833 (diff)
downloadprosody-42be754bb20ba65af1a3b311b82f5765b8985234.tar.gz
prosody-42be754bb20ba65af1a3b311b82f5765b8985234.zip
mod_muc: Refactor config form handling, and allow for clients to submit incomplete forms. Fixes #246
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 0f1beb0e..47809964 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -115,7 +115,7 @@ end
local function get_disco_items(stanza)
local reply = st.iq({type='result', id=stanza.attr.id, from=muc_host, to=stanza.attr.from}):query("http://jabber.org/protocol/disco#items");
for jid, room in pairs(rooms) do
- if not room:is_hidden() then
+ if not room:get_hidden() then
reply:tag("item", {jid=jid, name=room:get_name()}):up();
end
end