diff options
author | Kim Alvefur <zash@zash.se> | 2016-04-27 12:05:51 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-04-27 12:05:51 +0200 |
commit | 7295e6809e94ff399dc1920d7e40894709183ea0 (patch) | |
tree | 55e322278d43cf9fba923c604122a29270f97ecc /plugins/muc/mod_muc.lua | |
parent | 9a4c91af11caec2962e2cedbd1dc10f0bffa2c1d (diff) | |
download | prosody-7295e6809e94ff399dc1920d7e40894709183ea0.tar.gz prosody-7295e6809e94ff399dc1920d7e40894709183ea0.zip |
MUC: Use correct room name variable, fixes traceback (thanks mathieui)
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r-- | plugins/muc/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua index be34c652..14b716e1 100644 --- a/plugins/muc/mod_muc.lua +++ b/plugins/muc/mod_muc.lua @@ -203,7 +203,7 @@ module:hook("host-disco-items", function(event) for room in each_room() do if not room:get_hidden() then local jid, room_name = room.jid, room:get_name(); - room_items_cache[jid] = name; + room_items_cache[jid] = room_name; reply:tag("item", { jid = jid, name = room_name }):up(); end end |