# HG changeset patch # User Kim Alvefur # Date 1461751551 -7200 # Node ID 57ca4dcd91a79360fade41fa44bbbb169f8ea516 # Parent d6e6e21057f01efa8307d6c55a720830b5abacf8 MUC: Use correct room name variable, fixes traceback (thanks mathieui) diff -r d6e6e21057f0 -r 57ca4dcd91a7 plugins/muc/mod_muc.lua --- a/plugins/muc/mod_muc.lua Tue Apr 26 13:40:03 2016 +0200 +++ b/plugins/muc/mod_muc.lua Wed Apr 27 12:05:51 2016 +0200 @@ -203,7 +203,7 @@ 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