Skip to content

Commit

Permalink
mod_muc: correct variable name.
Browse files Browse the repository at this point in the history
Fixes #461
  • Loading branch information
maranda committed Nov 7, 2018
1 parent f8bd416 commit f2d4765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/muc/mod_muc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ local function handle_to_domain(event)
if can_create_room(origin, stanza) then
local uuid = uuid_gen();
unique_reservations[uuid.."@"..muc_host] = jid_bare(stanza.attr.from or origin.full_jid);
module:add_timer(expire_unique_room_reservations, function()
module:add_timer(expire_unique_reservations, function()
unique_reservations[uuid.."@"..muc_host] = nil;
end);
origin.send(st.reply(stanza):tag("unique", { xmlns = xmlns }):text(uuid));
Expand Down

0 comments on commit f2d4765

Please sign in to comment.