Comparison

plugins/muc/mod_muc.lua @ 7404:57ca4dcd91a7

MUC: Use correct room name variable, fixes traceback (thanks mathieui)
author Kim Alvefur <zash@zash.se>
date Wed, 27 Apr 2016 12:05:51 +0200
parent 7403:d6e6e21057f0
child 7410:45f543c82893
comparison
equal deleted inserted replaced
7403:d6e6e21057f0 7404:57ca4dcd91a7
201 end 201 end
202 else 202 else
203 for room in each_room() do 203 for room in each_room() do
204 if not room:get_hidden() then 204 if not room:get_hidden() then
205 local jid, room_name = room.jid, room:get_name(); 205 local jid, room_name = room.jid, room:get_name();
206 room_items_cache[jid] = name; 206 room_items_cache[jid] = room_name;
207 reply:tag("item", { jid = jid, name = room_name }):up(); 207 reply:tag("item", { jid = jid, name = room_name }):up();
208 end 208 end
209 end 209 end
210 end 210 end
211 end); 211 end);