diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-05-08 01:29:43 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-05-08 01:29:43 +0500 |
commit | 3f6a1b347ff895ab9ec9c0c716005b8460300725 (patch) | |
tree | b289b400e3fee21819621cf013e3af40f44b09d2 /plugins | |
parent | a747c4ddf2ebe01d5307a7668601524ab7b7fddb (diff) | |
download | prosody-3f6a1b347ff895ab9ec9c0c716005b8460300725.tar.gz prosody-3f6a1b347ff895ab9ec9c0c716005b8460300725.zip |
mod_muc: s/broadcast_history/send_history/ - since the cast isn't broad
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_muc.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 |