# HG changeset patch # User Waqas Hussain # Date 1241728183 -18000 # Node ID 76bd1bd142347d4c0c6f0ce1c285826c18b6b3d0 # Parent ed4d43c3eaf2fc3c37825cb3befdbc2cefa1030b mod_muc: s/broadcast_history/send_history/ - since the cast isn't broad diff -r ed4d43c3eaf2 -r 76bd1bd14234 plugins/mod_muc.lua --- a/plugins/mod_muc.lua Fri May 08 01:27:22 2009 +0500 +++ b/plugins/mod_muc.lua Fri May 08 01:29:43 2009 +0500 @@ -205,7 +205,7 @@ 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 @@ 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