Software /
code /
prosody
Changeset
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 |
parents | 7403:d6e6e21057f0 |
children | 7405:5a65750d959a |
files | plugins/muc/mod_muc.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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