From 3f6a1b347ff895ab9ec9c0c716005b8460300725 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Fri, 8 May 2009 01:29:43 +0500 Subject: mod_muc: s/broadcast_history/send_history/ - since the cast isn't broad --- plugins/mod_muc.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins') diff --git a/plugins/mod_muc.lua b/plugins/mod_muc.lua index f11cb7e3..35900f60 100644 --- a/plugins/mod_muc.lua +++ b/plugins/mod_muc.lua @@ -205,7 +205,7 @@ function broadcast_presence_stanza(room, stanza, code, nick) end end end -function broadcast_history(room, to) +function send_history(room, to) local history = rooms_info:get(room, 'history'); -- send discussion history if history then for _, msg in ipairs(history) do @@ -315,7 +315,7 @@ function handle_to_occupant(origin, stanza) -- PM, vCards, etc send_occupant_list(room, from); pr.attr.from = to; broadcast_presence_stanza(room, pr); - broadcast_history(room, from); + send_history(room, from); end end elseif type ~= 'result' then -- bad type -- cgit v1.2.3