Software /
code /
prosody
Changeset
3054:05b45b1281aa
mod_groups: Remove potentially verbose per-contact logging (thanks Flo)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 20 May 2010 09:40:33 +0100 |
parents | 3051:15150ad771df |
children | 3055:6405d899764e 3058:c425c5b45186 |
files | plugins/mod_groups.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_groups.lua Tue May 18 23:29:21 2010 +0100 +++ b/plugins/mod_groups.lua Thu May 20 09:40:33 2010 +0100 @@ -18,7 +18,7 @@ local module_host = module:get_host(); function inject_roster_contacts(username, host, roster) - module:log("warn", "Injecting group members to roster"); + --module:log("debug", "Injecting group members to roster"); local bare_jid = username.."@"..host; if not members[bare_jid] and not members[false] then return; end -- Not a member of any groups @@ -41,7 +41,7 @@ -- Find groups this JID is a member of if members[bare_jid] then for _, group_name in ipairs(members[bare_jid]) do - module:log("debug", "Importing group %s", group_name); + --module:log("debug", "Importing group %s", group_name); import_jids_to_roster(group_name); end end @@ -49,7 +49,7 @@ -- Import public groups if members[false] then for _, group_name in ipairs(members[false]) do - module:log("debug", "Importing group %s", group_name); + --module:log("debug", "Importing group %s", group_name); import_jids_to_roster(group_name); end end